From: Christian Heller Date: Sat, 9 Jan 2016 17:06:44 +0000 (+0100) Subject: Client: Remove debugging code, superfluous whitespace. X-Git-Tag: tce~216 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Bitem_name%7D%7D?a=commitdiff_plain;h=91dd475e7a5e1351d1f76cf8d6df6fc8557d2e9c;p=plomrogue Client: Remove debugging code, superfluous whitespace. --- diff --git a/client/commands.py b/client/commands.py index 159af5d..61cffac 100644 --- a/client/commands.py +++ b/client/commands.py @@ -22,7 +22,7 @@ def command_sender(string, int_field=None): int_string = "" if int_field: int_string = " " + str(world_data[int_field]) - send(string + int_string) + send(string + int_string) return command_send diff --git a/client/config/commands.py b/client/config/commands.py index c6cd627..7de9574 100644 --- a/client/config/commands.py +++ b/client/config/commands.py @@ -21,4 +21,3 @@ commands = { "w": (command_sender("move north-west"), command_looker("north-west")), "x": (command_sender("move south-west"), command_looker("south-west")), } - diff --git a/roguelike-client b/roguelike-client index cf5b424..3526300 100755 --- a/roguelike-client +++ b/roguelike-client @@ -204,10 +204,6 @@ def draw_screen(): draw_scroll_string(winmap_size[i] - offset[i] - win.size[i]) for win in windows: - logfile = open("logfile", "a") - logfile.write(repr(Window) + "\n") - logfile.write(repr(win) + "\n") - logfile.close() offset, winmap_size, winmap = win.draw() draw_winmap() draw_scroll_hints()