Skip to content

Commit 0df80f9

Browse files
committed
syntax error
1 parent 12e8344 commit 0df80f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

m3_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def main(self):
242242
list_name, self.sync['default_list_domain']))
243243
try:
244244
# create list by listname or by email address
245-
mlist = domain.create_list(len(str(datas['mail']))>0 ? datas['mail'] : list_name)
245+
mlist = domain.create_list( datas['mail'] if len(str(datas['mail']))>0 else list_name)
246246
self.set_settings(mlist)
247247
except HTTPError as e:
248248
print(e)

0 commit comments

Comments
 (0)