forked from Mirrors/apostrophe
fix non flatpak data paths
parent
731f9cb470
commit
ca0b458ca1
|
@ -63,7 +63,7 @@ def get_data_path():
|
||||||
# in the system installation path
|
# in the system installation path
|
||||||
abs_data_path = os.path.abspath(path)
|
abs_data_path = os.path.abspath(path)
|
||||||
if not os.path.exists(abs_data_path):
|
if not os.path.exists(abs_data_path):
|
||||||
abs_data_path = '/usr/share/uberwriter/data/'
|
abs_data_path = '/usr/share/uberwriter/'
|
||||||
elif not os.path.exists(abs_data_path):
|
elif not os.path.exists(abs_data_path):
|
||||||
raise ProjectPathNotFound
|
raise ProjectPathNotFound
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue