summaryrefslogtreecommitdiff
path: root/jtlib/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'jtlib/app.py')
-rw-r--r--jtlib/app.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/jtlib/app.py b/jtlib/app.py
index 5293e91..c2078b7 100644
--- a/jtlib/app.py
+++ b/jtlib/app.py
@@ -92,7 +92,9 @@ class JournalTool(cliapp.Application):
raise cliapp.AppException(
'Profile %s uses unknown setting %s' %
(profile, key))
- self.settings[key] = cp.get(profile, key)
+ value = cp.get(profile, key)
+ self.settings.set_from_raw_string(
+ 'profile %s' % profile, key, value)
def drafts_dir(self):
return os.path.join(self.settings['source'], 'drafts')