summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/settings/manager.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py
index c336071c..24d648e2 100644
--- a/alot/settings/manager.py
+++ b/alot/settings/manager.py
@@ -320,6 +320,10 @@ class SettingsManager(object):
value = bindings[mode][key]
if value:
cmdline = value
+ # Workaround for ConfigObj misbehaviour. cf issue #500
+ # this ensures that we get at least strings only as commandlines
+ if isinstance(cmdline, list):
+ cmdline = ','.join(cmdline)
return cmdline
def get_accounts(self):