Init update state cache to empty in init

This commit is contained in:
Lonami Exo 2021-09-19 18:17:37 +02:00
parent 3b1660669e
commit 26f6c62ce4

View File

@ -146,6 +146,7 @@ def init(
# Cache session data for convenient access
self._session_state = None
self._all_dcs = None
self._state_cache = statecache.StateCache(None, self._log)
self._entity_cache = entitycache.EntityCache()
self.api_id = int(api_id)