mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-12-22 18:00:17 +00:00
add bool true to channel overwrite form parser
This commit is contained in:
parent
2ef8823c2d
commit
f0e82caebb
@ -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})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user