diff options
author | Matthias Baumgartner <dev@igsor.net> | 2023-03-05 19:16:22 +0100 |
---|---|---|
committer | Matthias Baumgartner <dev@igsor.net> | 2023-03-05 19:16:22 +0100 |
commit | 5e88d395dee651175a277092c712249e3898a7d8 (patch) | |
tree | e6e0b475c7ab5c6a7ff4f0ea7ad1b08cecf05e68 /tagit/apps | |
parent | 54c1f6f845765fa7ed8720bbbc0130d99fc7a123 (diff) | |
download | tagit-5e88d395dee651175a277092c712249e3898a7d8.tar.gz tagit-5e88d395dee651175a277092c712249e3898a7d8.tar.bz2 tagit-5e88d395dee651175a277092c712249e3898a7d8.zip |
build fixes
Diffstat (limited to 'tagit/apps')
-rw-r--r-- | tagit/apps/desktop.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tagit/apps/desktop.py b/tagit/apps/desktop.py index 913f922..149bf30 100644 --- a/tagit/apps/desktop.py +++ b/tagit/apps/desktop.py @@ -32,8 +32,8 @@ def load_data_hook(cfg, store): import pickle import os # fetch data_hook config flags - schema_path = cfg('session', 'data_hook', 'schema') - triples_path = cfg('session', 'data_hook', 'triples') + schema_path = os.path.expanduser(cfg('session', 'data_hook', 'schema')) + triples_path = os.path.expanduser(cfg('session', 'data_hook', 'triples')) # load data if present if os.path.exists(schema_path) and os.path.exists(triples_path): with open(schema_path, 'rb') as ifile: |