diff --git a/files/routes/posts.py b/files/routes/posts.py index 523728921..243b0799f 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -534,7 +534,7 @@ def submit_post(v:User, sub=None): banned_domains = g.db.query(BannedDomain).all() for x in banned_domains: if y.startswith(x.domain): - abort(400, f'Remove the banned link "{x.domain}" and try again!
Reason for link ban: "{x.reason}"') + abort(400, f'Remove the banned link "{x.domain}" and try again!\nReason for link ban: "{x.reason}"') if "twitter.com" == domain: try: