fix sleep from seconds to minutes

This commit is contained in:
2024-05-26 03:32:20 -05:00
parent fcb17394c6
commit 4bb7c15277

View File

@@ -146,7 +146,7 @@ def check_reddit(config):
# Send alert
send_alert(config, title, text, url, timestamp, keyword)
time.sleep(config.get('interval'))
time.sleep(config.get('interval') * 60)
# Send alert out
def send_alert(config, title, text, url, timestamp, keyword):