diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-23 12:33:09 -0300 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-10-15 02:08:44 +0200 |
commit | ada7796794b8202e0b345d3c3553e04a240677fc (patch) | |
tree | c57f5ae56cf55ff28bc9f90e277a91715b915d15 /hercules | |
parent | aae7f6b6ea703ef891c5ae34e708a6b88cfd6a5a (diff) | |
download | tools-ada7796794b8202e0b345d3c3553e04a240677fc.tar.gz tools-ada7796794b8202e0b345d3c3553e04a240677fc.tar.bz2 tools-ada7796794b8202e0b345d3c3553e04a240677fc.tar.xz tools-ada7796794b8202e0b345d3c3553e04a240677fc.zip |
The one who should be breaking is not tmx_converter but testxml
Diffstat (limited to 'hercules')
-rwxr-xr-x | hercules/tmx_converter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hercules/tmx_converter.py b/hercules/tmx_converter.py index 30e1a31..0393a39 100755 --- a/hercules/tmx_converter.py +++ b/hercules/tmx_converter.py @@ -282,8 +282,8 @@ class ContentHandler(xml.sax.ContentHandler): heigherror=False # 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'data': if attr.get(u'encoding','') not in (u'', u'csv'): |