Skip to content

Commit

Permalink
Refs PokemonGoF#2698. Fixed mistakes.
Browse files Browse the repository at this point in the history
  • Loading branch information
geek-man committed Aug 7, 2016
1 parent 57651e2 commit 44d0be1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pokemongo_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,9 @@ def check_session(self, position):
self.api._auth_provider._ticket_expire / 1000 - time.time()

if remaining_time < 60:
bot.event_manager.emit(
'session_stale',
sender=bot,
self.event_manager.emit(
'api_error',
sender=self,
level='info',
formatted='Session stale, re-logging in.'
)
Expand Down

0 comments on commit 44d0be1

Please sign in to comment.