Merge branch 'update_check_interval_constant' of https://github.com/Luflosi/kitty

This commit is contained in:
Kovid Goyal 2019-09-25 06:23:05 +05:30
commit 2154d555e5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

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)