Ignore:
Timestamp:
13 Nov 2018, 07:20:14 (6 years ago)
Author:
Henrik Bettermann
Message:

ct is not a list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r15234 r15235  
    10391039        ct = textwrap.fill(title, title_length)
    10401040        ft = title
    1041         if len(ct) > 1:
     1041        if len(textwrap.wrap(title, title_length)) > 1:
    10421042            ft = textwrap.wrap(title, title_length)[0] + ' ...'
    10431043        doc_title = translate(_('${a} (${b})\nAcademic Session ${d}',
Note: See TracChangeset for help on using the changeset viewer.