mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-04 22:03:48 +02:00
Use the update CHECK_INTERVAL constant
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user