Skip to content

Commit

Permalink
Call new hook.
Browse files Browse the repository at this point in the history
Call the new 'SongLoaderContextDidFinish' hook with the _Context object.
  • Loading branch information
randompersona1 committed Dec 15, 2024
1 parent 45e50d6 commit 758dbe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/usdb_syncer/song_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ def _run_inner(self) -> UsdbSong:
ctx.locations.move_to_target_folder()
_persist_tempfiles(ctx)
_write_sync_meta(ctx)
hooks.SongLoaderContextDidFinish.call(ctx)
hooks.SongLoaderDidFinish.call(ctx.song)
return ctx.song

Expand Down

0 comments on commit 758dbe3

Please sign in to comment.