Browse Source

wxGUI: remove unnecessary printing of invalid map size (#2146)

Anna Petrasova 3 years ago
parent
commit
76cf64cad2
1 changed files with 0 additions and 3 deletions
  1. 0 3
      gui/wxpython/core/render.py

+ 0 - 3
gui/wxpython/core/render.py

@@ -1018,9 +1018,6 @@ class Map(object):
             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