Skip to content

Commit 218004e

Browse files
author
KoiCrystal
committed
Update config.py
1 parent 13899eb commit 218004e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

zoomeye/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"""
1212
from zoomeye import __version__, __site__
1313

14+
seconds_of_fiveday = 60 * 60 * 24 * 5
1415

1516
# save api key file and json web token file path
1617
ZOOMEYE_CONFIG_PATH = "~/.config/zoomeye/setting"
@@ -19,7 +20,7 @@
1920
ZOOMEYE_CACHE_PATH = "~/.config/zoomeye/cache"
2021

2122
# cache expired time, five day
22-
EXPIRED_TIME = 60 * 60 * 24 * 5
23+
EXPIRED_TIME = seconds_of_fiveday
2324

2425
# print data max length
2526
STRING_MAX_LENGTH = 23

0 commit comments

Comments
 (0)