home · contact · privacy
Server/py: Fix buggy worlddb_value_setter()() error message.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 24 Feb 2015 11:37:14 +0000 (12:37 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 24 Feb 2015 11:37:14 +0000 (12:37 +0100)
plomrogue-server.py

index 322357485f0e264e9013ff2f65f377802c7e64f3..6ccd7a1ca2bd7be5632c1b582c8a71f04ed0d3a8 100755 (executable)
@@ -254,7 +254,7 @@ def worlddb_value_setter(key, min, max):
             world_db[key] = val
         except ValueError:
             print("Ignoring: Please use integer >= " + str(min) + " and <= " +
-                  "str(max)+ '.")
+                  str(max) + ".")
     return func