diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-01 18:57:18 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-01 18:57:18 +0200 |
commit | 4ebe6b095e66caa5764e08486aeac46b32df0866 (patch) | |
tree | d4687f7ebcc203d039708264d5058a11908e2ed8 /module/plugins/Plugin.py | |
parent | ocr + db fix (diff) | |
download | pyload-4ebe6b095e66caa5764e08486aeac46b32df0866.tar.xz |
wait fix
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index e3b1b3299..de29dfc4e 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -146,8 +146,9 @@ class Plugin(object): def wait(self): """ waits the time previously set """ self.waiting = True + self.pyfile.setStatus("waiting") - while self.pyfile.waitUntil < time(): + while self.pyfile.waitUntil > time(): self.thread.m.reconnecting.wait(2) if self.pyfile.abort: raise Abort @@ -156,6 +157,7 @@ class Plugin(object): raise Reconnect self.waiting = False + self.pyfile.setStatus("starting") def fail(self, reason): """ fail and give reason """ |