Skip to content

Commit

Permalink
Change incorrect boolean logic
Browse files Browse the repository at this point in the history
  • Loading branch information
OlafSzmidt committed Sep 19, 2018
1 parent 6d0e636 commit aa2b7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aimmo-game/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +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):
return not bool(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 aa2b7c8

Please sign in to comment.