part might be int
This commit is contained in:
parent
7248616937
commit
fdb358ea89
1 changed files with 2 additions and 2 deletions
|
@ -172,8 +172,8 @@ class File(models.Model):
|
|||
data = self.get_path_info()
|
||||
self.extension = data.get('extension')
|
||||
self.language = data.get('language')
|
||||
self.part = ox.sort_string(data.get('part') or '')
|
||||
self.part_title = ox.sort_string(data.get('partTitle') or '')
|
||||
self.part = ox.sort_string(unicode(data.get('part')) or '')
|
||||
self.part_title = ox.sort_string(unicode(data.get('partTitle')) or '')
|
||||
self.type = data.get('type') or 'unknown'
|
||||
self.version = data.get('version')
|
||||
|
||||
|
|
Loading…
Reference in a new issue