Commit f610557c authored by Gaute Hope's avatar Gaute Hope

fix #65: MAX_CONNECTION_ERRORS is class variable

parent 5f6a8ee1
......@@ -320,7 +320,7 @@ class Remote:
time.sleep (1)
if conn_errors > MAX_CONNECTION_ERRORS:
if conn_errors > self.MAX_CONNECTION_ERRORS:
print ("too many connection errors")
raise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment