Skip to content

Commit

Permalink
wxGUI: remove unnecessary printing of invalid map size (#2146)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Jan 31, 2022
1 parent 02b305a commit 76cf64c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gui/wxpython/core/render.py
Expand Up @@ -1018,9 +1018,6 @@ def ChangeMapSize(self, size):
self.width = int(size[0])
self.height = int(size[1])
if self.width < 1 or self.height < 1:
sys.stderr.write(
_("Invalid map size %d,%d\n") % (self.width, self.height)
)
raise ValueError
except ValueError:
self.width = 640
Expand Down

0 comments on commit 76cf64c

Please sign in to comment.