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

View File

@ -283,6 +283,9 @@ class YoutubeChannel(YouTubeItem):
if value in [0, "0"]: if value in [0, "0"]:
del to_write[key] del to_write[key]
continue continue
if value == "1":
to_write[key] = True
continue
if value: if value:
to_write.update({key: value}) to_write.update({key: value})