And the attached patch fix the problem.

Cheers,
-- 
Yves-Alexis Perez
--- Library.py.orig	2008-10-01 08:16:06.000000000 +0200
+++ Library.py	2008-10-01 08:14:54.000000000 +0200
@@ -377,7 +377,7 @@
 
             if prevChar is None or (prevChar != currChar and not (prevChar.isdigit() and currChar.isdigit())):
                 prevChar = currChar
-                if currChar.isdigit(): rows.append((None, '<b>0 - 9</b>',         TYPE_HEADER, None, None))
+                if currChar and currChar.isdigit(): rows.append((None, '<b>0 - 9</b>',         TYPE_HEADER, None, None))
                 else:                  rows.append((None, '<b>%s</b>' % currChar, TYPE_HEADER, None, None))
 
             rows.append((consts.icoDir, cgi.escape(artist[ART_NAME]), TYPE_ARTIST, os.path.join(path, artist[ART_INDEX]), None))

Reply via email to