X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=plomrogue%2Fio.py;h=252fac18d3c3fba5a5f6308f535e165746f20b7d;hb=5e761a8855223b0b51a22b5f3b0de353fd2f8f86;hp=68f580ba3fa689b78075a175ed4a2e880128235f;hpb=baab532ba5125527bdc7061864f7cc7db8d7abc3;p=plomrogue2 diff --git a/plomrogue/io.py b/plomrogue/io.py index 68f580b..252fac1 100644 --- a/plomrogue/io.py +++ b/plomrogue/io.py @@ -80,9 +80,9 @@ class GameIO(): command(*args, connection_id=connection_id) elif god_mode: command(*args) - #if store and not hasattr(command, 'dont_save'): - # with open(self.game_file_name, 'a') as f: - # f.write(input_ + '\n') + # if store and not hasattr(command, 'dont_save'): + # with open(self.game_file_name, 'a') as f: + # f.write(input_ + '\n') except ArgError as e: answer(connection_id, 'ARGUMENT_ERROR ' + quote(str(e))) except PlayError as e: @@ -99,7 +99,7 @@ class GameIO(): """ if connection_id: for server in self.servers: - if connection_id in server.clients: + if connection_id in server.clients: client = server.clients[connection_id] client.put(msg) else: