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:
"""
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: