From 38af33bb2f07b8dca7d1ce2c3815c6b03131552c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 12 Sep 2012 11:48:52 +0200 Subject: [PATCH] format_path return value changed --- pandora/archive/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/models.py b/pandora/archive/models.py index a5bacaec7..01a5a7bd7 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -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():