movie.py: temporarily add some debug information

This commit is contained in:
rolux 2012-08-22 14:33:14 +02:00
parent 75eed86f7c
commit 7738bf9811

View file

@ -109,6 +109,7 @@ def parse_item_files(files):
for file in [file for file in other_files if file['version'] == version]: for file in [file for file in other_files if file['version'] == version]:
key = get_version_key(file, extension=False) key = get_version_key(file, extension=False)
if key in extension: if key in extension:
print key, extension
version_files[key + extension[key]].append(file) version_files[key + extension[key]].append(file)
else: else:
version_files[key] = (version_files[key] if key in version_files else []) + [file] version_files[key] = (version_files[key] if key in version_files else []) + [file]