Address comments.
This commit is contained in:
committed by
Sarina Canelake
parent
934207bf03
commit
d71433e223
@@ -58,13 +58,10 @@ class Command(BaseCommand):
|
||||
def handle(self, *args, **options):
|
||||
key, list_id, course_id, nsegments = self.parse_options(options)
|
||||
|
||||
log.info('Syncronizing email list for {0}'.format(course_id))
|
||||
log.info('Syncronizing email list for %s', course_id)
|
||||
|
||||
mailchimp = connect_mailchimp(key)
|
||||
|
||||
# if not verify_list(mailchimp, list_id, course_id):
|
||||
# raise CommandError('course_id does not match list name')
|
||||
|
||||
subscribed = get_subscribed(mailchimp, list_id)
|
||||
unsubscribed = get_unsubscribed(mailchimp, list_id)
|
||||
cleaned = get_cleaned(mailchimp, list_id)
|
||||
|
||||
Reference in New Issue
Block a user