Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
disconnect standalone on failed_auth
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-weber committed May 11, 2020
1 parent 8fbf85c commit be7d6b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standalone_bot.py
Expand Up @@ -70,7 +70,7 @@ def failed_auth(self, _):
self.password = credentials.access_token
self.credentials['access_token'] = credentials.access_token
self.oauth_storage.put(credentials)
self.reconnect()
self.disconnect(reconnect=True)

@property
def oauth_filename(self):
Expand Down

0 comments on commit be7d6b1

Please sign in to comment.