This commit is contained in:
Nullart2
2018-08-05 21:08:07 +08:00
parent 4a9bf78770
commit 26d591ea43
3 changed files with 6 additions and 5 deletions

View File

@@ -116,7 +116,7 @@ class Exchange(object):
api.urls['api'] = api.urls['test']
logger.info("Enabled Sandbox API on %s", name)
else:
logger.warning(self, "No Sandbox URL in CCXT, exiting. "
logger.warning(name, "No Sandbox URL in CCXT, exiting. "
"Please check your config.json")
raise OperationalException(f'Exchange {name} does not provide a sandbox api')