mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Fix regression from debug
This commit is contained in:
parent
41876c1d9c
commit
523b8686c7
1 changed files with 1 additions and 4 deletions
5
app.py
5
app.py
|
@ -2353,11 +2353,8 @@ def task_cache_object():
|
||||||
iri = task.payload
|
iri = task.payload
|
||||||
try:
|
try:
|
||||||
activity = ap.fetch_remote_activity(iri)
|
activity = ap.fetch_remote_activity(iri)
|
||||||
print(activity)
|
|
||||||
print(activity.__dict__)
|
|
||||||
app.logger.info(f"activity={activity!r}")
|
app.logger.info(f"activity={activity!r}")
|
||||||
obj = activity
|
obj = activity.get_object()
|
||||||
# obj = activity.get_object()
|
|
||||||
DB.activities.update_one(
|
DB.activities.update_one(
|
||||||
{"remote_id": activity.id},
|
{"remote_id": activity.id},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue