Skip to content

Commit

Permalink
alter server consditional
Browse files Browse the repository at this point in the history
  • Loading branch information
inuitwallet committed Sep 24, 2015
1 parent 3ffbd2b commit 77a1f47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def run(self):
reset_timer = 0 if 'reset_timer' not in configdata else configdata[
'reset_timer']
offset = 0.002 if 'offset' not in configdata else configdata['offset']
if 'server' not in configdata:
if 'server' in configdata:
if 'apikey' in configdata:
if 'apisecret' in configdata:
if 'address' in configdata:
Expand Down Expand Up @@ -415,4 +415,4 @@ def run(self):
break
time.sleep(60)
except KeyboardInterrupt:
stop = True
stop = True

0 comments on commit 77a1f47

Please sign in to comment.