forked from 0x2620/pandora
typo
This commit is contained in:
parent
38af33bb2f
commit
a1a8c0b428
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class File(models.Model):
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def normalize_path(self):
|
def normalize_path(self):
|
||||||
return u'/'.join(ox.movie.format_path(self.get_path_info()))
|
return ox.movie.format_path(self.get_path_info())
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
def save(self, *args, **kwargs):
|
||||||
if self.id and not self.path_info and self.instances.count():
|
if self.id and not self.path_info and self.instances.count():
|
||||||
|
|
Loading…
Reference in a new issue