Fix-up isinstance/is_user_authorized from 06cdf1f

This commit is contained in:
Lonami Exo
2018-06-15 13:01:16 +02:00
parent b7286be3b0
commit 509fba8bcc
2 changed files with 12 additions and 5 deletions

View File

@@ -192,6 +192,7 @@ class TelegramBaseClient(abc.ABC):
# TODO maybe we can have ._last_request instead if any req works?
self._last_state = datetime.now()
self._state_delay = timedelta(hours=1)
self._state = None
# Some further state for subclasses
self._event_builders = []