From f0e82caebbfd461a2cc27f1c1f71097a4b936742 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 16 Mar 2022 12:32:02 +0700 Subject: [PATCH] add bool true to channel overwrite form parser --- tubearchivist/home/src/index/channel.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tubearchivist/home/src/index/channel.py b/tubearchivist/home/src/index/channel.py index 97b6212..7d40fd2 100644 --- a/tubearchivist/home/src/index/channel.py +++ b/tubearchivist/home/src/index/channel.py @@ -283,6 +283,9 @@ class YoutubeChannel(YouTubeItem): if value in [0, "0"]: del to_write[key] continue + if value == "1": + to_write[key] = True + continue if value: to_write.update({key: value})