Skip to content

Commit

Permalink
Reformat migration
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Dec 17, 2024
1 parent 4482b38 commit 73813dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/btrixcloud/migrations/migration_0037_upload_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ async def migrate_up(self):
return

if self.page_ops is None:
print(
"Unable to start background job, missing page_ops", flush=True
)
print("Unable to start background job, missing page_ops", flush=True)
return

mdb_orgs = self.mdb["organizations"]
Expand All @@ -54,7 +52,9 @@ async def migrate_up(self):
pages_already_added = await self.org_upload_pages_already_added(oid)

if pages_already_added:
print(f"Skipping org {oid}, upload pages already added to db", flush=True)
print(
f"Skipping org {oid}, upload pages already added to db", flush=True
)
continue

try:
Expand Down

0 comments on commit 73813dd

Please sign in to comment.