From 6b7b87bb6a0f4cd341e2b9ae0d5d94c7aa317dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 24 May 2022 15:05:58 +0200 Subject: [PATCH] fix(daemon): Make sure the token variable is declared --- pantalaimon/daemon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pantalaimon/daemon.py b/pantalaimon/daemon.py index aec62ea..e9704d1 100755 --- a/pantalaimon/daemon.py +++ b/pantalaimon/daemon.py @@ -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(