Commit 791e11429342d4dc7cee6409aecf7fddae272b8d

Authored by janek37
1 parent b68b6cc2

mały bugfix w eksporcie

Showing 1 changed file with 1 additions and 1 deletions
dictionary/export.py
... ... @@ -342,7 +342,7 @@ where ls.slownik in (%(vocabs)s) and %(antivocabs)s %(x_qual)s %(table_clause)s
342 342 self.homonyms_with_numbers = set(
343 343 self.queryset().values('entry', 'part_of_speech')
344 344 .annotate(count=Count('pk')).filter(count__gt=1)
345   - .values_list('entry', 'part_of_speech', flat=True))
  345 + .values_list('entry', 'part_of_speech'))
346 346 cursor = connection.cursor()
347 347 tts = TableTemplate.objects.filter(
348 348 variant_id=self.data['variant']).prefetch_related(
... ...