This commit is contained in:
j 2012-09-12 11:50:50 +02:00
parent 38af33bb2f
commit a1a8c0b428

View file

@ -159,7 +159,7 @@ class File(models.Model):
return data
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):
if self.id and not self.path_info and self.instances.count():