Skip to content

Commit

Permalink
Refactor print to logger.info
Browse files Browse the repository at this point in the history
  • Loading branch information
bertybuttface committed Jan 28, 2024
1 parent 6ab0d2e commit 0a6c991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iSponsorBlockTV/ytlounge.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def _process_event(self, event_id: int, event_type: str, args):
if len(args) > 0 and (
vid_id := args[0]["videoId"]
): # if video id is not empty
print(f"Getting segments for next video: {vid_id}")
self._logger.info(f"Getting segments for next video: {vid_id}")
create_task(self.api_helper.get_segments(vid_id))

# #Used to know if an ad is skippable or not
Expand Down

0 comments on commit 0a6c991

Please sign in to comment.