mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Fix key error after enabling a plugin that introduces a new status key
This commit is contained in:
parent
5501094214
commit
12d9a7a5bd
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ class SessionProxy(component.Component):
|
|||
else:
|
||||
# We need to check if a key is expired
|
||||
for key in keys:
|
||||
if t - self.cache_times[torrent_id][key] > self.cache_time:
|
||||
if t - self.cache_times[torrent_id].get(key, 0.0) > self.cache_time:
|
||||
to_fetch.append(torrent_id)
|
||||
break
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue