Commit 5ac5ad9ae823c14506a30652afb8f434015dc7ee

Authored by janek37
1 parent 172ff033

copyright w eksporcie

Showing 1 changed file with 2 additions and 1 deletions
dictionary/export.py
... ... @@ -363,7 +363,8 @@ where ls.slownik in (%(vocabs)s) and %(antivocabs)s %(x_qual)s %(table_clause)s
363 363 'month': today.month,
364 364 'day': today.day,
365 365 }
366   - uniprint(copyright, file=self.output_file)
  366 + if copyright:
  367 + uniprint(copyright, file=self.output_file)
367 368 for r in export_data:
368 369 uniprint(
369 370 u'\t'.join((str(r[1]), r[2], r[0]) + r[3:]),
... ...