mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +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"]:
|
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})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user