From 9ee7efd8b18d8caece9cf8d3cc1d58ecbcf209a6 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Wed, 31 Aug 2022 16:10:09 +0300 Subject: add new environment variable:TEXTDIR --- wqflask/base/webqtlConfig.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wqflask/base') diff --git a/wqflask/base/webqtlConfig.py b/wqflask/base/webqtlConfig.py index 39947158..371a94ab 100644 --- a/wqflask/base/webqtlConfig.py +++ b/wqflask/base/webqtlConfig.py @@ -7,7 +7,7 @@ # with those in utility/tools.py # ######################################### - +import os from utility.tools import valid_path, mk_dir, assert_dir, assert_writable_dir, flat_files, TEMPDIR # Debug Level @@ -95,6 +95,9 @@ if not valid_path(JSON_GENODIR): # fall back on old location (move the dir, FIXME) JSON_GENODIR = flat_files('json') + +TEXTDIR = os.path.join(os.environ.get( + "GNSHARE", "/gnshare/gn/"), "web/ProbeSetFreeze_DataMatrix") # Are we using the following...? PORTADDR = "http://50.16.251.170" INFOPAGEHREF = '/dbdoc/%s.html' -- cgit v1.2.3