Commit b8aed722 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

python 3.5 compatibility

parent 8ea6a5b3
Pipeline #40116 passed with stage
in 1 minute and 27 seconds
......@@ -22,7 +22,7 @@ def sstatic(context, path):
def get_absolut_url(request, relative_url):
return f"{request.scheme}://{request.get_host()}{relative_url}"
return "%s://%s%s" % (request.scheme, request.get_host(), relative_url)
def compute_url_for_path(path):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment