Key identifiers missing

This commit is contained in:
Ruud
2014-03-19 23:24:16 +01:00
parent be46ed12ac
commit 8316b5cb29

View File

@@ -6,7 +6,7 @@ from couchpotato.core.helpers.encoding import toUnicode, simplifyString
class MediaIndex(MultiTreeBasedIndex):
_version = 2
_version = 3
custom_header = """from CodernityDB.tree_index import MultiTreeBasedIndex"""
@@ -26,7 +26,7 @@ class MediaIndex(MultiTreeBasedIndex):
ids = []
for x in identifiers:
ids.append(md5('%s-%s' % (x, data['identifiers'][x])).hexdigest())
ids.append(md5('%s-%s' % (x, identifiers[x])).hexdigest())
return ids, None