aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/utility/tools.py')
-rw-r--r--wqflask/utility/tools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index b8eff12a..9405a9c6 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -76,8 +76,8 @@ def plink_command(guess=None):
def flat_files(subdir=None):
base = get_setting("GENENETWORK_FILES")
if subdir:
- return valid_path(base+"/"+subdir)
- return valid_path(base)
+ return assert_dir(base+"/"+subdir)
+ return assert_dir(base)
def assert_dir(dir):
if not valid_path(dir):