add bool true to channel overwrite form parser

This commit is contained in:
simon 2022-03-16 12:32:02 +07:00
parent 2ef8823c2d
commit f0e82caebb
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 3 additions and 0 deletions

View File

@ -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})