Commit c067c7df authored by fred's avatar fred

load-from-spip-liste: fix importing text format subscribers

parent 5c53db65
......@@ -49,7 +49,7 @@ class Command(BaseCommand):
if self.verbose:
print 'Creating subscribers'
for author_xml in self.root.iter('spip_auteurs_elargis'):
if author_xml.find('spip_listes_format').text not in ('text', 'html'):
if author_xml.find('spip_listes_format').text not in ('texte', 'html'):
continue
author = self.authors.get(author_xml.find('id_auteur').text)
if author.email is None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment