Make SyncToken.token initially None to avoid uninitialized error

This commit is contained in:
Andrew Morgan 2019-10-26 02:16:13 +01:00
parent 6231f0ed17
commit 668a892e8c

View file

@ -10,6 +10,7 @@ class SyncToken(object):
store (Storage): An object to access the storage layer
"""
self.store = store
self.token = None
# Attempt to load a token from the provided storage layer
self._load()