Skip to content

Commit

Permalink
fix: put tools in right order
Browse files Browse the repository at this point in the history
  • Loading branch information
eikowagenknecht committed Oct 24, 2023
1 parent c962437 commit a08080b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lootscraper/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,11 @@ async def run_cleanup() -> None:
"""Clean common problems."""
log("Running cleanup")
with LootDatabase(echo=False) as db:
delete_invalid_offers(db.Session())
fix_image_nones(db.Session())
fix_offer_titles(db.Session())
fix_offer_categories(db.Session())
# Delete offers that have been invalidated by the above.
delete_invalid_offers(db.Session())


async def run_refresh() -> None:
Expand Down

0 comments on commit a08080b

Please sign in to comment.