We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8da26f commit 8d06ea1Copy full SHA for 8d06ea1
1 file changed
crownstone_cloud/lib/cloud.py
@@ -33,7 +33,8 @@ def __del__(self):
33
34
async def initialize(self) -> None:
35
"""Async initialize the cloud data"""
36
- await self.login()
+ if RequestHandler.access_token is None:
37
+ await self.login()
38
await self.sync()
39
40
def initialize_sync(self) -> None:
0 commit comments