Fix bug in Blocklist that prevented downloading of new file every X days
This commit is contained in:
parent
5f20e2139d
commit
cccd1b8436
@ -2,6 +2,9 @@ Deluge 0.9.08 - "1.0.0_RC8" (In Development)
|
|||||||
Core:
|
Core:
|
||||||
* Attempt to automatically upgrade a 0.5.x state file to new format
|
* Attempt to automatically upgrade a 0.5.x state file to new format
|
||||||
|
|
||||||
|
Plugins:
|
||||||
|
* Fix bug in Blocklist that prevented downloading of new file every X days
|
||||||
|
|
||||||
GtkUI:
|
GtkUI:
|
||||||
* Sort filenames alphabetically in add torrent dialog
|
* Sort filenames alphabetically in add torrent dialog
|
||||||
|
|
||||||
|
|||||||
@ -245,7 +245,7 @@ class Core(CorePluginBase):
|
|||||||
if list_size == 0:
|
if list_size == 0:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if current_time >= (list_time + datetime.timedelta(self.config["check_after_days"] * 24 * 60 * 60)):
|
if current_time >= (list_time + datetime.timedelta(days=self.config["check_after_days"])):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user