Browse Source

Fix latex encoding error.

production
Markus Lorenz 5 years ago
parent
commit
c531e918ab
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      c3smembership/membership_list.py

+ 2
- 1
c3smembership/membership_list.py View File

@ -209,7 +209,8 @@ def member_list_date_pdf_view(request):
member.membership_loss_date.strftime('%d.%m.%Y') + \
'\\linebreak '
if member.membership_loss_type is not None:
membership_loss += member.membership_loss_type
membership_loss += unicode(TexTools.escape(
member.membership_loss_type)).encode('utf-8')
latex_file.write(
''' {0} & {1} & {2} & {3} & {4} & {5} & {6} \\\\\\hline %
'''.format(


Loading…
Cancel
Save