diff --git a/src/mdevaluate/reader.py b/src/mdevaluate/reader.py index 98927fe..46a2b41 100755 --- a/src/mdevaluate/reader.py +++ b/src/mdevaluate/reader.py @@ -152,7 +152,7 @@ def nojump_load_filename(reader: BaseReader): ) if os.path.exists(full_path_fallback): return full_path_fallback - if os.path.exists(fname) or is_writeable(directory): + if os.path.exists(full_path) or is_writeable(directory): return full_path else: user_data_dir = os.path.join("/data/", os.environ["HOME"].split("/")[-1])