Skip to content

Commit a2dd3b3

Browse files
Refactoring of a variable name (#51)
* wrong name fix
1 parent 3761a7c commit a2dd3b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

atcodertools/release_management/version_check.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def _get_latest_version_cache():
2626
if not os.path.exists(cache_file_path):
2727
return None
2828
with open(cache_file_path, 'r') as f:
29-
version, timestamp_ms = f.read().split()
30-
timestamp_sec = float(timestamp_ms)
29+
version, timestamp_sec = f.read().split()
30+
timestamp_sec = float(timestamp_sec)
3131

3232
if time.time() - timestamp_sec > HOUR_IN_SEC:
3333
return None

0 commit comments

Comments
 (0)