fix formatting

This commit is contained in:
Thomas Sileo
2018-07-01 12:49:40 +02:00
parent aea8a80fe1
commit cd6f8727c0
2 changed files with 5 additions and 3 deletions

4
app.py
View File

@@ -465,7 +465,9 @@ def tmp_migrate():
@login_required
def tmp_migrate2():
# Remove buggy OStatus announce
DB.activities.remove({"activity.object": {"$regex": f"^tag:"}, "type": ActivityType.ANNOUNCE.value})
DB.activities.remove(
{"activity.object": {"$regex": f"^tag:"}, "type": ActivityType.ANNOUNCE.value}
)
# Cache the object
for activity in DB.activities.find():
if (