movie.py: don't coerce None to string
This commit is contained in:
parent
6268c491e8
commit
f630291584
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ def parse_item_files(files):
|
|||
])
|
||||
def get_version_key(file, extension=True):
|
||||
return '%s.%s-part.%s' % (
|
||||
file['version'],
|
||||
file['version'] or '',
|
||||
'single' if file['part'] == None else 'multi',
|
||||
file['extension'] if extension else ''
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue