Fix of issue 4059, event type begins with non latin char.

svn: r15549
This commit is contained in:
Peter Landgren 2010-06-09 20:59:16 +00:00
parent 44f970baa8
commit 9e40603988

View File

@ -2543,8 +2543,7 @@ class EventListPage(BasePage):
# set up hyperlinked letter for alphabet_navigation
tcell = Html("td", class_ = "ColumnLetter", inline = True)
trow += tcell
ltr = evt_type[0].capitalize()
ltr = unicode(evt_type)[0].capitalize()
if first_letter:
trow.attr = 'class = "BeginLetter"'
tcell += Html("a", ltr, name = ltr,