Formatting
This commit is contained in:
parent
52252341da
commit
c9a10bddb4
1 changed files with 2 additions and 1 deletions
3
app.py
3
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:
|
||||
|
|
Loading…
Reference in a new issue