From 0a6c99125f0b10581142269ce1a616f1ca190c2b Mon Sep 17 00:00:00 2001 From: bertybuttface <110790513+bertybuttface@users.noreply.github.com> Date: Sun, 28 Jan 2024 14:08:48 +0000 Subject: [PATCH] Refactor print to logger.info --- src/iSponsorBlockTV/ytlounge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iSponsorBlockTV/ytlounge.py b/src/iSponsorBlockTV/ytlounge.py index 54f3a8e..b9b2af4 100644 --- a/src/iSponsorBlockTV/ytlounge.py +++ b/src/iSponsorBlockTV/ytlounge.py @@ -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