From 3392ae397364b3810ff13135826537b7d1196043 Mon Sep 17 00:00:00 2001 From: pictuga Date: Tue, 14 Dec 2021 11:10:26 +0000 Subject: [PATCH] util: try one more path for data_files --- morss/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/morss/util.py b/morss/util.py index 7f887e8..cb4dd76 100644 --- a/morss/util.py +++ b/morss/util.py @@ -34,7 +34,8 @@ def data_path(path=''): bases = [ os.path.join(sys.prefix, 'share/morss/www'), - os.path.join(pkg_path(), './../../../../share/morss/www'), + os.path.join(pkg_path(), '../../../share/morss/www'), + os.path.join(pkg_path(), '../../../../share/morss/www'), os.path.join(pkg_path(), '../www'), os.path.join(pkg_path(), '../..') ]