Fmt only (maybe)

This commit is contained in:
litagin02
2024-05-25 18:15:36 +09:00
parent acf93b80ce
commit 2274087da4
33 changed files with 216 additions and 166 deletions

View File

@@ -127,7 +127,7 @@ def download_and_extract(url, extract_to: Path):
def new_release_available(latest_release):
if LAST_DOWNLOAD_FILE.exists():
with open(LAST_DOWNLOAD_FILE, "r") as file:
with open(LAST_DOWNLOAD_FILE) as file:
last_download_str = file.read().strip()
# 'Z'を除去して日時オブジェクトに変換
last_download_str = last_download_str.replace("Z", "+00:00")