microservicified

This commit is contained in:
Yax 2018-09-15 18:15:21 +02:00
parent 8311053d08
commit ec86069ec7
5 changed files with 20 additions and 14 deletions

View file

@ -42,7 +42,7 @@ def new_form_comment():
url = data.get("url", "")
author_name = data.get("author", "").strip()
author_gravatar = data.get("email", "").strip()
author_site = data.get("site", "").to_lower().strip()
author_site = data.get("site", "").lower().strip()
if author_site and author_site[:4] != "http":
author_site = "http://" + author_site
message = data.get("message", "")