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

Fixed name errors in camera_picamera2.py module #78

Merged
merged 5 commits into from
Feb 18, 2025

Conversation

BalajiLeninrajan
Copy link
Contributor

No description provided.

Copy link
Member

@maxlou05 maxlou05 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed

Comment on lines 101 to 102
if picamera2 is None:
return False, None
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did this never work? Like it still failed to pass test with this in?

Copy link
Contributor Author

@BalajiLeninrajan BalajiLeninrajan Feb 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that didn't work. What's probably happening is that all the methods of the class are setup on Python reads the types of the methods on instantiation so this doesn't catch the NoneType error

Copy link
Member

@maxlou05 maxlou05 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@BalajiLeninrajan BalajiLeninrajan merged commit 1c517e8 into main Feb 18, 2025
1 check passed
@BalajiLeninrajan BalajiLeninrajan deleted the fix-name-errors-picamera2 branch February 18, 2025 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants