More bugfixes

This commit is contained in:
Thomas Sileo
2019-08-24 11:11:36 +02:00
parent 40c847f1bd
commit a8d571f2a3
2 changed files with 4 additions and 4 deletions

4
app.py
View File

@@ -508,9 +508,7 @@ def outbox():
@app.route("/emoji/<name>")
def ap_emoji(name):
if name in EMOJIS:
return activitypubify(
**{**EMOJIS[name].to_dict(), "@context": config.DEFAULT_CTX}
)
return activitypubify(**{**EMOJIS[name], "@context": config.DEFAULT_CTX})
abort(404)