mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
use lazy-evaluating form of logger (pylint W1202)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user