fix data path for non flatpak installs

ft.librem5
Manuel Genoves 2019-10-30 01:14:56 +01:00
parent 3d52aa8042
commit e39e515e6d
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ def get_data_path():
# Get pathname absolute or relative.
if os.path.isfile("/.flatpak-info"):
return '/app/share/uberwriter/data/'
return '/app/share/uberwriter/'
path = os.path.join(
os.path.dirname(__file__), __uberwriter_data_directory__)