From 67449fa7aca66cd8023d9e08023fffd1d97e6182 Mon Sep 17 00:00:00 2001 From: Daniel Tam Date: Sun, 26 May 2024 03:35:30 -0500 Subject: [PATCH] fix time.sleep from seconds to minutes --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4535988..6212f99 100644 --- a/main.py +++ b/main.py @@ -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):