Skip to content

Commit

Permalink
Merge branch 'docker_for_local_mode' of https://github.com/ocadotechn…
Browse files Browse the repository at this point in the history
…ology/aimmo into docker_for_local_mode
  • Loading branch information
faucomte97 committed Oct 29, 2018
2 parents 65bc60f + 241851a commit 24e693e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions aimmo-game/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ def _find_avatar_id_from_query(self, session_id, query_string):

def _send_logs(self, player_id_to_workers):
def should_send_logs(logs):
LOGGER.info("should_send_logs: " + str(logs))

return logs is not None and logs != ''
return bool(logs)

socket_session_id_to_player_id_copy = self._socket_session_id_to_player_id.copy()
for sid, player_id in socket_session_id_to_player_id_copy.iteritems():
Expand Down

0 comments on commit 24e693e

Please sign in to comment.