mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-08 16:59:23 +00:00
add bool true to channel overwrite form parser
This commit is contained in:
@@ -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})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user