Fix OPDS categories not showing books for composite column categories if the column contains a colon.

This commit is contained in:
Charles Haley 2015-03-14 12:51:37 +01:00
parent fd8c736e4d
commit 8ad4f01288

View File

@ -551,7 +551,7 @@ class OPDSServer(object):
which = which[1:]
if type_ == 'I':
try:
p = which.index(':')
p = which.rindex(':')
category = which[p+1:]
which = which[:p]
# This line will toss an exception for composite columns