fix time.sleep from seconds to minutes

This commit is contained in:
2024-05-26 03:35:30 -05:00
parent fcb17394c6
commit 67449fa7ac

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):