fix import
This commit is contained in:
parent
2f08dc29ef
commit
ae1c88fb13
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ except ImportError, e:
|
|||
sys.exit(1)
|
||||
|
||||
try:
|
||||
import mapnik3
|
||||
import mapnik
|
||||
except ImportError:
|
||||
print '\x1b[31m✘\x1b[0m (\x1b[34m%s\x1b[0m)' % 'import mapnik failed - tests require python bindings'
|
||||
sys.exit(0)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
import sys
|
||||
|
||||
try:
|
||||
import mapnik3
|
||||
import mapnik
|
||||
mapnik.logger.set_severity(mapnik.severity_type.None)
|
||||
#mapnik.logger.set_severity(mapnik.severity_type.Debug)
|
||||
except ImportError:
|
||||
|
|
Loading…
Reference in a new issue