Fixing “ValueError: too many values to unpack (expected 2)”

This commit is contained in:
Alarig Le Lay 2020-07-13 09:40:37 +02:00
parent 90fa03f9e3
commit c3b59384f5
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ def purge_cb(*args):
global urls
t_now = now()
for url, url_d in urls.copy():
for url, url_d in urls.copy().items():
if (t_now - url_d['launched']) > \
int(w.config_get_plugin('reannounce_wait'))*60:
del urls[url]