aboutsummaryrefslogtreecommitdiffstats
path: root/tagit/apps
diff options
context:
space:
mode:
Diffstat (limited to 'tagit/apps')
-rw-r--r--tagit/apps/desktop.py4
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: