Revert last change to 0.5.2 tag.

This commit is contained in:
Andrew Resch 2007-09-09 12:06:55 +00:00
parent 20c22477f4
commit b8726a6645
2 changed files with 5 additions and 4 deletions

View file

@ -2,7 +2,7 @@
plugin_name = "Scheduler" # The name of the plugin
plugin_author = "Lazka - updated by markybob" # The author's Name
plugin_version = "0.5.6" # The plugin's version number
plugin_version = "0.5.2" # The plugin's version number
plugin_description = "Scheduler" # A description of the plugin
def deluge_init(deluge_path):

View file

@ -31,6 +31,7 @@ class plugin_Scheduler:
def update(self):
time_now = time.localtime(time.time())
if self.status is not self.button_state[time_now[3]][time_now[6]]:
self.status = self.button_state[time_now[3]][time_now[6]]
@ -54,14 +55,14 @@ class plugin_Scheduler:
self.core.apply_queue()
def limit(self):
self.config.set("max_download_speed", float(self.dllimit))
self.config.set("max_upload_speed", float(self.ullimit))
self.config.set("max_download_rate", float(self.dllimit))
self.config.set("max_upload_rate", float(self.ullimit))
def unlimit(self):
self.interface.apply_prefs()
#Configuration dialog
def configure(self, window):
def configure(self):
global scheduler_select
self.button_state_temp = copy.deepcopy(self.button_state)