Fixing “ValueError: too many values to unpack (expected 2)”
This commit is contained in:
parent
90fa03f9e3
commit
c3b59384f5
|
@ -308,7 +308,7 @@ def purge_cb(*args):
|
||||||
global urls
|
global urls
|
||||||
|
|
||||||
t_now = now()
|
t_now = now()
|
||||||
for url, url_d in urls.copy():
|
for url, url_d in urls.copy().items():
|
||||||
if (t_now - url_d['launched']) > \
|
if (t_now - url_d['launched']) > \
|
||||||
int(w.config_get_plugin('reannounce_wait'))*60:
|
int(w.config_get_plugin('reannounce_wait'))*60:
|
||||||
del urls[url]
|
del urls[url]
|
||||||
|
|
Loading…
Reference in a new issue