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.
2 parents 944cabf + 8d03855 commit 8aca560Copy full SHA for 8aca560
src/contestsuite/settings.py
@@ -17,7 +17,7 @@ def get_secret(key, default=None):
17
value = os.getenv(key, default)
18
if value and os.path.isfile(value):
19
with open(value) as f:
20
- return f.read()
+ return f.read().strip()
21
return value
22
23
0 commit comments