We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97918fa commit 07336a7Copy full SHA for 07336a7
1 file changed
selfservice/__init__.py
@@ -34,7 +34,8 @@
34
app.config.from_pyfile(os.path.join(os.getcwd(), "config.env.py"))
35
36
# Get Git Revision
37
-version = open("rev", "r").read().rstrip()
+with open("rev", mode="r", encoding="utf-8") as file:
38
+ version = file.read().rstrip()
39
40
# Setup Sentry tracking
41
sentry_sdk.init(
0 commit comments