Changeset 3741

Show
Ignore:
Timestamp:
08/23/08 13:00:35 (5 months ago)
Author:
andar
Message:

Fix bug in Blocklist that prevented downloading of new file every X days

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0.0_RC/ChangeLog

    r3738 r3741  
    22 Core: 
    33  * Attempt to automatically upgrade a 0.5.x state file to new format 
     4  
     5 Plugins: 
     6  * Fix bug in Blocklist that prevented downloading of new file every X days 
    47   
    58 GtkUI: 
  • branches/1.0.0_RC/deluge/plugins/blocklist/blocklist/core.py

    r3654 r3741  
    246246            return True 
    247247 
    248         if current_time >= (list_time + datetime.timedelta(self.config["check_after_days"] * 24 * 60 * 60)): 
     248        if current_time >= (list_time + datetime.timedelta(days=self.config["check_after_days"])): 
    249249            return True 
    250250         
  • trunk/deluge/plugins/blocklist/blocklist/core.py

    r3654 r3741  
    246246            return True 
    247247 
    248         if current_time >= (list_time + datetime.timedelta(self.config["check_after_days"] * 24 * 60 * 60)): 
     248        if current_time >= (list_time + datetime.timedelta(days=self.config["check_after_days"])): 
    249249            return True 
    250250