Fix regression from debug

This commit is contained in:
Thomas Sileo 2019-04-07 16:49:35 +02:00
parent 41876c1d9c
commit 523b8686c7

5
app.py
View file

@ -2353,11 +2353,8 @@ def task_cache_object():
iri = task.payload
try:
activity = ap.fetch_remote_activity(iri)
print(activity)
print(activity.__dict__)
app.logger.info(f"activity={activity!r}")
obj = activity
# obj = activity.get_object()
obj = activity.get_object()
DB.activities.update_one(
{"remote_id": activity.id},
{