diff --git a/run.py b/run.py
index f000f6b..9880f42 100644
--- a/run.py
+++ b/run.py
@@ -37,7 +37,7 @@ APP = flask.Flask(__name__)
def index():
""" Displays the index page accessible at '/' """
- content = 'This ActivityPub Server is running !!! (exciting): ({ domain })'.format(domain=DOMAIN)
+ content = 'This ActivityPub Server is running !!! (exciting): ({})'.format(DOMAIN)
return content
@APP.route('/.well-known/webfinger', methods=['GET'])
@@ -87,10 +87,10 @@ def inbox(actor):
"""
if flask.request.method == 'GET':
- return '''This has been a { mode } request.
- It came with the following header:
{ headers }
- You have searched for the actor { actor }.
- This is { domain }'s shared inbox:
{ inbox }'''.format(mode=flask.request.method, headers=flask.request.headers, actor=actor, somain=DOMAIN, inbox=str(INBOX))
+ return '''This has been a {} request.
+ It came with the following header:
{}
+ You have searched for the actor {}.
+ This is {}'s shared inbox:
{}'''.format(flask.request.method, flask.request.headers, actor, DOMAIN, str(INBOX))
if flask.request.method == 'POST':
INBOX.append(flask.request.data)