Skip to content

Commit 92b6c12

Browse files
committed
fix list_alerts
1 parent a201d6d commit 92b6c12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/alert_bot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ def disable_alert(self, args):
218218
color_print("disable_alert - {green}OK{endc}")
219219

220220
def print_alerts(self, args):
221+
init_alerts()
221222
table = [['Name', 'Enabled', 'Last sent']]
222223
for alert_name in ALERTS:
223224
alert = self.get_alert_from_db(alert_name)

0 commit comments

Comments
 (0)