mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
fix(daemon): Make sure the token variable is declared
This commit is contained in:
parent
2883df45c0
commit
6b7b87bb6a
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user