Skip to content

Commit 480303f

Browse files
committed
Disable welcome message when creating new list
1 parent 34d003c commit 480303f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

m3_sync.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ def main(self):
214214
list_name, self.sync['default_list_domain']))
215215
try:
216216
mlist = domain.create_list(list_name)
217+
# disable welcome message
218+
mlist.settings['send_welcome_message'] = False
219+
mlist.settings.save()
217220
except HTTPError:
218221
self.logger.warn(
219222
"List with name {0} already exists".format(list_name))

0 commit comments

Comments
 (0)