Fix #940680 (Error sending books to iTunes)

This commit is contained in:
Kovid Goyal 2012-03-15 11:03:16 +05:30
parent d4f7ba4456
commit b781ff54d0

View File

@ -543,6 +543,7 @@ class Metadata(object):
# Happens if x is not a text, is_multiple field
# on self
lstags = []
self_tags = []
ot, st = map(frozenset, (lotags, lstags))
for t in st.intersection(ot):
sidx = lstags.index(t)