remove try/except around 'import mapnik' which is more trouble than help
This commit is contained in:
parent
8db7f58e8f
commit
63ccb4c36c
1 changed files with 1 additions and 7 deletions
|
@ -23,13 +23,7 @@
|
|||
import sys
|
||||
from os import path
|
||||
|
||||
try:
|
||||
import mapnik
|
||||
except:
|
||||
print '\n\nThe mapnik library and python bindings must have been compiled and \
|
||||
installed successfully before running this script.\n\n'
|
||||
sys.exit(1)
|
||||
|
||||
import mapnik
|
||||
|
||||
# Instanciate a map, giving it a width and height. Remember: the word "map" is
|
||||
# reserved in Python! :)
|
||||
|
|
Loading…
Add table
Reference in a new issue