Use the update CHECK_INTERVAL constant
This commit is contained in:
parent
bd1e7d6942
commit
1389c36657
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user