summaryrefslogtreecommitdiff
path: root/alot/settings/theme.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-03-16 19:12:40 +0100
committerAnton Khirnov <anton@khirnov.net>2023-03-16 19:12:40 +0100
commit7515515cb889c6bb8435c7eae923891d6b28dd8e (patch)
treee36e379f040c453497cac535d564d63520580873 /alot/settings/theme.py
parentefec104994051a54dac147889f69c23f9c1bcb1c (diff)
main: allow -c to be used multiple times
Merge values from multiple files.
Diffstat (limited to 'alot/settings/theme.py')
-rw-r--r--alot/settings/theme.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/settings/theme.py b/alot/settings/theme.py
index 0eda72f2..4dcacf7a 100644
--- a/alot/settings/theme.py
+++ b/alot/settings/theme.py
@@ -22,7 +22,7 @@ class Theme:
:raises: :class:`~alot.settings.errors.ConfigError`
"""
self._spec = os.path.join(DEFAULTSPATH, 'theme.spec')
- self._config = read_config(path, self._spec, report_extra=True,
+ self._config = read_config([path], self._spec, report_extra=True,
checks={'align': checks.align_mode,
'widthtuple': checks.width_tuple,
'force_list': checks.force_list,