Skip to content
Snippets Groups Projects
Commit fa5777f8 authored by OndraRehounek's avatar OndraRehounek Committed by jan.bednarik
Browse files

remove redundant trailing slash

parent b250825a
Branches
No related tags found
2 merge requests!442Release,!432Feature/majak imports
......@@ -261,7 +261,7 @@ def perform_import(
Redirect.objects.get_or_create(
site=site,
old_path="/%s/%s/%s/%s/%s/"
old_path="/%s/%s/%s/%s/%s"
% (articlepath, y, m.zfill(2), d.zfill(2), slug),
defaults={"is_permanent": True, "redirect_page": article},
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment