diff --git a/relay/actor.py b/relay/actor.py
index 3c4e352..0804897 100644
--- a/relay/actor.py
+++ b/relay/actor.py
@@ -22,8 +22,8 @@ if "actorKeys" not in DATABASE:
pubkey = privkey.publickey()
DATABASE["actorKeys"] = {
- "publicKey": pubkey.exportKey('PEM').decode('UTF-8'),
- "privateKey": privkey.exportKey('PEM').decode('UTF-8')
+ "publicKey": pubkey.exportKey('PEM').decode('utf-8'),
+ "privateKey": privkey.exportKey('PEM').decode('utf-8')
}
diff --git a/relay/default.py b/relay/default.py
index 638e0c7..b3a1836 100644
--- a/relay/default.py
+++ b/relay/default.py
@@ -7,9 +7,9 @@ host = CONFIG['ap']['host']
note = CONFIG['note']
inboxes = DATABASE.get('relay-list', [])
-targets = '
'.join([urllib.parse.urlsplit(target).hostname for target in inboxes])
async def default(request):
+ targets = '
'.join([urllib.parse.urlsplit(target).hostname for target in inboxes])
return aiohttp.web.Response(
status=200,
content_type="text/html",