Use the update CHECK_INTERVAL constant

This commit is contained in:
Luflosi
2019-09-25 02:46:19 +02:00
parent bd1e7d6942
commit 1389c36657

View File

@@ -117,6 +117,6 @@ def update_check(timer_id=None):
return True
def run_update_check(interval=24 * 60 * 60):
def run_update_check(interval=CHECK_INTERVAL):
if update_check():
add_timer(update_check, interval)