From 08b3960093c5fdcf8f3132f144bd1cbf14b55a10 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 21 Oct 2015 11:10:17 +0300 Subject: Fix string-list value merging from profiles --- jtlib/app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'jtlib') 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') -- cgit v1.2.1