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 f771d68 commit e23a001Copy full SHA for e23a001
nc_py_api/ex_app/misc.py
@@ -33,7 +33,7 @@ def verify_version(finalize_update: bool = True) -> tuple[str, str] | None:
33
"""
34
version_file_path = os.path.join(persistent_storage(), "_version.info")
35
r = None
36
- with open(version_file_path, "a+t", encoding="UTF-8") as version_file:
+ with open(version_file_path, "a+", encoding="UTF-8") as version_file:
37
version_file.seek(0)
38
old_version = version_file.read()
39
if old_version != os.environ["APP_VERSION"]:
0 commit comments