summaryrefslogtreecommitdiff
path: root/searx/version.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/version.py')
-rw-r--r--searx/version.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/version.py b/searx/version.py
index 34c37bd22..daada6020 100644
--- a/searx/version.py
+++ b/searx/version.py
@@ -126,8 +126,8 @@ GIT_URL = "{GIT_URL}"
GIT_BRANCH = "{GIT_BRANCH}"
"""
with open(
- os.path.join(os.path.dirname(__file__), "version_frozen.py"), "w"
- ) as f:
+ os.path.join(os.path.dirname(__file__), "version_frozen.py"),
+ "w", encoding="utf8") as f:
f.write(python_code)
print(f"{f.name} created")
else: