Skip to content

Commit e8dad39

Browse files
committed
fix handling of booleans in check of record_video
Signed-off-by: AvivGuiser <[email protected]>
1 parent 53dee06 commit e8dad39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Video/video_nodeQuery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def main() -> None:
4646
pass
4747

4848
# Check if enabling to record video
49-
if isinstance(record_video, str) and record_video.lower() == "false":
49+
if (isinstance(record_video, str) and record_video.lower() == "false") or record_video is False:
5050
record_video = "false"
5151
else:
5252
record_video = "true"

0 commit comments

Comments
 (0)