Skip to content

Commit

Permalink
StreamGear : Fix logging option bug
Browse files Browse the repository at this point in the history
  • Loading branch information
enarche-ahn committed Feb 16, 2022
1 parent b59b090 commit 4c78e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vidgear/gears/streamgear.py
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ def __Build_n_Execute(self, input_params, output_params):
stdout=sp.DEVNULL
if (not self.__video_source and not self.__logging)
else sp.PIPE,
stderr=sp.STDOUT if (self.__video_source and not self.__logging) else None,
stderr=sp.STDOUT if (not self.__video_source and not self.__logging) else None,
)
# post handle progress bar and runtime errors in case of video_source
if self.__video_source:
Expand Down

0 comments on commit 4c78e18

Please sign in to comment.