summaryrefslogtreecommitdiff
path: root/jtlib/app.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-10-21 11:10:17 +0300
committerLars Wirzenius <liw@liw.fi>2015-10-21 11:10:17 +0300
commit08b3960093c5fdcf8f3132f144bd1cbf14b55a10 (patch)
tree78d4b233c9ad6cbb534d4f6169c92d85ccbbbf22 /jtlib/app.py
parent4d3291b0a01a56bf2adfd2047240a093cde4ce21 (diff)
downloadjt-08b3960093c5fdcf8f3132f144bd1cbf14b55a10.tar.gz
Fix string-list value merging from profiles
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')