diff --git a/pandora/archive/models.py b/pandora/archive/models.py index 84c2151b0..8f019aa91 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -161,6 +161,8 @@ class File(models.Model): for type in ox.movie.EXTENSIONS: if data['extension'] in ox.movie.EXTENSIONS[type]: data['type'] = type + if 'part' in data and isinstance(data['part'], int): + data['part'] = str(data['part']) return data def normalize_path(self):