fix(daemon): Make sure the token variable is declared

This commit is contained in:
Damir Jelić 2022-05-24 15:05:58 +02:00
parent 2883df45c0
commit 6b7b87bb6a

View File

@ -125,6 +125,8 @@ class ProxyDaemon:
self.upload_info = self.store.load_upload(self.name)
for user_id, device_id in accounts:
token = None
if self.conf.keyring:
try:
token = keyring.get_password(