Commit 1757f34f59610b6f4460ea80d783a29852be384e

Authored by Bartłomiej Nitoń
1 parent 6a2251a8

Fix create_TEI_walenty script.

dictionary/management/commands/create_TEI_walenty.py
... ... @@ -144,7 +144,7 @@ class Command(BaseCommand):
144 144  
145 145 def print_statistics_by_pos(self, lemmas):
146 146 for pos in POS.objects.all():
147   - pos_lemmas = lemmas.filter(entry_obj__tag=pos)
  147 + pos_lemmas = lemmas.filter(entry_obj__pos=pos)
148 148 if pos_lemmas.exists():
149 149 count = {'frames': 0,
150 150 'arguments': 0}
... ...