Fixed reading nojump_matrices from non-writable directories
This commit is contained in:
parent
befaef2dfa
commit
37bf496b21
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user