rename and exchange instance and mark it as private

This commit is contained in:
gcarq
2017-11-01 00:12:18 +01:00
parent 465c91b9a9
commit 4a35676794
3 changed files with 35 additions and 21 deletions

View File

@@ -266,7 +266,7 @@ def app(config: dict) -> None:
elif new_state == State.RUNNING:
_process()
# We need to sleep here because otherwise we would run into bittrex rate limit
time.sleep(exchange.EXCHANGE.sleep_time)
time.sleep(exchange.get_sleep_time())
old_state = new_state
except RuntimeError:
telegram.send_msg(