Skip to content

Commit

Permalink
error in picam import corrected #2
Browse files Browse the repository at this point in the history
  • Loading branch information
hcwinsemius committed Jan 15, 2025
1 parent c7bcb8d commit 0217f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodeorc_api/routers/pivideo.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
async def has_picam():
"""Test if the PiCamera is available."""
try:
from picamera import PiCamera
from picamera2 import Picamera2
except ImportError:
return False
else:
Expand Down

0 comments on commit 0217f8c

Please sign in to comment.