We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13899eb commit 218004eCopy full SHA for 218004e
1 file changed
zoomeye/config.py
@@ -11,6 +11,7 @@
11
"""
12
from zoomeye import __version__, __site__
13
14
+seconds_of_fiveday = 60 * 60 * 24 * 5
15
16
# save api key file and json web token file path
17
ZOOMEYE_CONFIG_PATH = "~/.config/zoomeye/setting"
@@ -19,7 +20,7 @@
19
20
ZOOMEYE_CACHE_PATH = "~/.config/zoomeye/cache"
21
22
# cache expired time, five day
-EXPIRED_TIME = 60 * 60 * 24 * 5
23
+EXPIRED_TIME = seconds_of_fiveday
24
25
# print data max length
26
STRING_MAX_LENGTH = 23
0 commit comments