Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: motion_output do not work with Class/Object which return 0 , is ready solution . #281

Pe3ucTop opened this issue Apr 26, 2016 · 2 comments


Copy link


I have noticed that motion_output do not work for object/classes which return 0 .
Example is empty Deque class with applied write method.

Inspect code and find bug in one place:
Row 836, buggy check: "if motion_output:" which will return False for empty/0 class.
Other place in code there is correct checking: "if motion_output is not None:" which will return True for empty class.

Solution is to change row 836 of
from : " if motion_output: "
to: " if motion_output is not None: "

I tried to do update myself/ push commit to git , but it's look like not allowed.

Copy link

Forgot to mention:
This solution work for me / tested.

Copy link

Good point - I'll get this fixed for 1.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants