diff options
Diffstat (limited to 'etc/default_settings.py')
-rw-r--r-- | etc/default_settings.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/default_settings.py b/etc/default_settings.py index 8636f4db..a0d01de0 100644 --- a/etc/default_settings.py +++ b/etc/default_settings.py @@ -24,7 +24,8 @@ import os import sys -GN_VERSION = open("../etc/VERSION", "r").read() +with open("../etc/VERSION", "r") as version_file: + GN_VERSION = version_file.read() # Redis REDIS_URL = "redis://:@localhost:6379/0" |