summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
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)