From 9453269684b8d17411d8bbc4ecd0c7958670ff42 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 21 Dec 2009 19:59:59 +0100 Subject: log view, progressbar test --- pyLoadCli.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pyLoadCli.py') 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) -- cgit v1.2.3