summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-12-21 19:59:59 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-12-21 19:59:59 +0100
commit9453269684b8d17411d8bbc4ecd0c7958670ff42 (patch)
treec44940bb96b054f46d0db279a548de3e278c6e8d /pyLoadCli.py
parentreverted files, pyload.db fix (diff)
downloadpyload-9453269684b8d17411d8bbc4ecd0c7958670ff42.tar.xz
log view, progressbar test
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-xpyLoadCli.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index 061c366af..44592d555 100755
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -305,7 +305,11 @@ class RefreshThread(threading.Thread):
def run(self):
while True:
- self.cli.refresh()
+ try:
+ self.cli.refresh()
+ except:
+ self.cli.pos[1] = 0
+ self.cli.pos[2] = 0
sleep(1)