use lazy-evaluating form of logger (pylint W1202)

This commit is contained in:
Janne Sinivirta
2017-08-27 16:50:59 +03:00
parent 06d92042fd
commit 98f9d7cc21
3 changed files with 10 additions and 10 deletions

View File

@@ -89,7 +89,7 @@ def get_buy_signal(pair):
return False
signal = latest['underpriced'] == 1
logger.debug('buy_trigger: {} (pair={}, signal={})'.format(latest['date'], pair, signal))
logger.debug('buy_trigger: %s (pair=%s, signal=%s)', latest['date'], pair, signal)
return signal