aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorzsloan2022-03-22 19:02:15 +0000
committerzsloan2022-03-22 19:02:15 +0000
commita49da43ba00245cf23a2b72c314127986f567f28 (patch)
treece64e83370c52add94927bc050febf5d242722db /etc
parent68ac19153b128f60b660e11365e5fd4304c95300 (diff)
parent32cb57b82db328bc84753af9d25e9aaa1bd31152 (diff)
downloadgenenetwork2-a49da43ba00245cf23a2b72c314127986f567f28.tar.gz
Merge remote-tracking branch 'origin/testing' into feature/add_rqtl_pairscan
Diffstat (limited to 'etc')
-rw-r--r--etc/default_settings.py3
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"