format_path return value changed

This commit is contained in:
j 2012-09-12 11:48:52 +02:00
parent 69af82bd9f
commit 38af33bb2f

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()).split('/')[1:])
return u'/'.join(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():