From d6a861118f8fbe693ccc48ccbf9ed8b28d195369 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 14 Jan 2023 08:51:10 +0700 Subject: [PATCH] better watched state log output --- tubearchivist/home/src/frontend/watched.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubearchivist/home/src/frontend/watched.py b/tubearchivist/home/src/frontend/watched.py index 2ce80180..ceb4870e 100644 --- a/tubearchivist/home/src/frontend/watched.py +++ b/tubearchivist/home/src/frontend/watched.py @@ -20,6 +20,7 @@ class WatchState: def change(self): """change watched state of item(s)""" + print(f"{self.youtube_id}: change watched state to {self.is_watched}") url_type = self._dedect_type() if url_type == "video": self.change_vid_state() @@ -33,7 +34,6 @@ class WatchState: def _dedect_type(self): """find youtube id type""" - print(self.youtube_id) url_process = Parser(self.youtube_id).parse() url_type = url_process[0]["type"] return url_type