fix: use None as default for attachments
Instead of "[]" to avoid useless JSON parsing.
This commit is contained in:
parent
8d6480df1c
commit
617e5551e7
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ def make(
|
|||
send_email=False,
|
||||
print_html=None,
|
||||
print_format=None,
|
||||
attachments="[]",
|
||||
attachments=None,
|
||||
send_me_a_copy=False,
|
||||
cc=None,
|
||||
bcc=None,
|
||||
|
|
@ -114,7 +114,7 @@ def _make(
|
|||
send_email=False,
|
||||
print_html=None,
|
||||
print_format=None,
|
||||
attachments="[]",
|
||||
attachments=None,
|
||||
send_me_a_copy=False,
|
||||
cc=None,
|
||||
bcc=None,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue