We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3761a7c commit a2dd3b3Copy full SHA for a2dd3b3
atcodertools/release_management/version_check.py
@@ -26,8 +26,8 @@ def _get_latest_version_cache():
26
if not os.path.exists(cache_file_path):
27
return None
28
with open(cache_file_path, 'r') as f:
29
- version, timestamp_ms = f.read().split()
30
- timestamp_sec = float(timestamp_ms)
+ version, timestamp_sec = f.read().split()
+ timestamp_sec = float(timestamp_sec)
31
32
if time.time() - timestamp_sec > HOUR_IN_SEC:
33
0 commit comments