improve approximate duration of one month
what a silly-sounding commit message
This commit is contained in:
parent
51df54be80
commit
d0d29bd0d4
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ from time import time
|
|||
CacheLine = namedtuple("CacheLine", ("time", "code"))
|
||||
header = ["ip", "time", "code"]
|
||||
|
||||
one_month = 30 * 24 * 60 * 60 # in seconds
|
||||
one_month = 365.25 / 12 * 24 * 60 * 60 # in seconds
|
||||
encoding = "latin-1"
|
||||
|
||||
cache_filepath = "ipinfo_cache.csv"
|
||||
|
|
Loading…
Reference in a new issue