[FIX] survey: Remove wrong dirty hack when rendering survey's mail template

This dirty hack keeps only the path without the first '/' character.
This commit is contained in:
Yannick Tivisse
2018-05-31 12:55:51 +02:00
parent 21e233cba5
commit 6b35b8b498
@@ -87,8 +87,6 @@ class SurveyMailComposeMessage(models.TransientModel):
#set url
url = wizard.survey_id.public_url
url = urls.url_parse(url).path[1:] # dirty hack to avoid incorrect urls
if token:
url = url + '/' + token