Skip to content

Commit dd92493

Browse files
committed
FIX on mute_cold notifications
1 parent 1cef76c commit dd92493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/notification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def get_indicator_messages(self, new_analysis):
571571
if not analysis['config']['alert_enabled']:
572572
should_alert = False
573573

574-
if 'mute_cold' in analysis['config'] and latest_result['is_cold'] == analysis['config']['mute_cold']:
574+
if 'mute_cold' in analysis['config'] and analysis['config']['mute_cold'] == True and latest_result['is_cold'] == True:
575575
self.logger.info('Skiping cold notification for %s %s %s', market_pair, indicator, candle_period)
576576
should_alert = False
577577

0 commit comments

Comments
 (0)