Skip to content

Commit e23a001

Browse files
committed
fix for ruff UP015 rule
Signed-off-by: Alexander Piskun <[email protected]>
1 parent f771d68 commit e23a001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nc_py_api/ex_app/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def verify_version(finalize_update: bool = True) -> tuple[str, str] | None:
3333
"""
3434
version_file_path = os.path.join(persistent_storage(), "_version.info")
3535
r = None
36-
with open(version_file_path, "a+t", encoding="UTF-8") as version_file:
36+
with open(version_file_path, "a+", encoding="UTF-8") as version_file:
3737
version_file.seek(0)
3838
old_version = version_file.read()
3939
if old_version != os.environ["APP_VERSION"]:

0 commit comments

Comments
 (0)