use format_path for sites with folderdepth of 4
This commit is contained in:
parent
483e742439
commit
2f68365d2f
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ class File(models.Model):
|
|||
|
||||
def normalize_path(self):
|
||||
#FIXME: always use format_path
|
||||
if settings.USE_IMDB:
|
||||
if settings.CONFIG['site']['folderdepth'] == 4:
|
||||
return ox.movie.format_path(self.get_path_info())
|
||||
else:
|
||||
path = self.path or ''
|
||||
|
|
Loading…
Reference in a new issue