Fix paths for cartel

This commit is contained in:
el Mau 2023-02-12 23:25:01 -06:00
parent b3bec81d84
commit bc7cfaf5e5
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class MovieQuerySet(models.QuerySet):
movie["count_formatted"] = self.format_count(movie["count"])
movie["stars_icons"] = self.format_stars(movie["stars"])
movie["file_name"] = self.fix_path(movie["file_name"])
movie["cartel"] = f"{settings.MEDIA_ROOT}{movie['cartel']}"
movie["cartel"] = f"{settings.MEDIA_URL}{movie['cartel']}"
if wikipedia:
movie["wiki"] = self.get_wiki(movie)