diff --git a/app.py b/app.py index 6c1dfa8..e58be68 100644 --- a/app.py +++ b/app.py @@ -66,8 +66,8 @@ from little_boxes.activitypub import _to_list from little_boxes.activitypub import clean_activity from little_boxes.activitypub import get_backend from little_boxes.content_helper import parse_markdown -from little_boxes.errors import ActivityNotFoundError from little_boxes.errors import ActivityGoneError +from little_boxes.errors import ActivityNotFoundError from little_boxes.errors import Error from little_boxes.errors import NotFromOutboxError from little_boxes.httpsig import HTTPSigAuth @@ -271,6 +271,7 @@ def get_actor(url): except (ActivityNotFoundError, ActivityGoneError): return f"Deleted<{url}>" + @app.template_filter() def format_time(val): if val: