summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J Gruber <github@grubix.eu>2018-03-05 13:44:16 +0100
committerMichael J Gruber <github@grubix.eu>2018-03-05 13:50:33 +0100
commit0035813ee18f2549592c2d806f445ab20cc6e143 (patch)
tree35608bf63853d7fc28d61b5f0af29f7b15da40a9
parent2280ad2cc162d4fd1fc50ebd10c3cc64a41ac7de (diff)
remove superfluous list() for ConfigObj
force_list() converts single items to lists already. Thus, remove a superfluous list() that could be mistaken for converting a single string into a list of chars.
-rw-r--r--alot/defaults/alot.rc.spec2
-rw-r--r--docs/source/configuration/accounts_table2
2 files changed, 2 insertions, 2 deletions
diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec
index 36b45124..f0cd9f1d 100644
--- a/alot/defaults/alot.rc.spec
+++ b/alot/defaults/alot.rc.spec
@@ -322,7 +322,7 @@ thread_focus_linewise = boolean(default=True)
draft_box = mail_container(default=None)
# list of tags to automatically add to outgoing messages
- sent_tags = force_list(default=list('sent'))
+ sent_tags = force_list(default='sent')
# path to signature file that gets attached to all outgoing mails from this account, optionally
# renamed to :ref:`signature_filename <signature-filename>`.
diff --git a/docs/source/configuration/accounts_table b/docs/source/configuration/accounts_table
index 33c554a3..4ebe0746 100644
--- a/docs/source/configuration/accounts_table
+++ b/docs/source/configuration/accounts_table
@@ -87,7 +87,7 @@
list of tags to automatically add to outgoing messages
:type: string list
- :default: sent,
+ :default: sent
.. _signature: