summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-23 12:33:09 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-23 12:33:09 -0300
commitcb73c414b222702a8a68237d296991397bf80663 (patch)
tree961097043d1068a4bc36033546da187a7708a1b3 /hercules
parent140eea91129c42c14c603a741799868204fa04ae (diff)
downloadevol-tools-cb73c414b222702a8a68237d296991397bf80663.tar.gz
evol-tools-cb73c414b222702a8a68237d296991397bf80663.tar.bz2
evol-tools-cb73c414b222702a8a68237d296991397bf80663.tar.xz
evol-tools-cb73c414b222702a8a68237d296991397bf80663.zip
The one who should be breaking is not tmx_converter but testxml
Diffstat (limited to 'hercules')
-rwxr-xr-xhercules/tmx_converter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hercules/tmx_converter.py b/hercules/tmx_converter.py
index 5efe117..611abee 100755
--- a/hercules/tmx_converter.py
+++ b/hercules/tmx_converter.py
@@ -204,8 +204,8 @@ class ContentHandler(xml.sax.ContentHandler):
self.state = State.LAYER
# Map width must be enough to fill the largest widescreen on market
if (self.width < WIDESCREEN/TILESIZE):
- print('Bad map width: %d (min. %d)' % (self.width, WIDESCREEN/TILESIZE))
- raise Exception('Invalid map width: %d (min. %d)' % (self.width, WIDESCREEN/TILESIZE))
+ print('\n\nERROR: invalid map width: %d (min. %d)' % (self.width, WIDESCREEN/TILESIZE))
+ #raise SyntaxError('width')
elif self.state is State.LAYER:
if name == u'layer':
self.layers.add(attr[u'name'].lower())