Add flake8 bugbear checks
This commit is contained in:
parent
7ea92ad55f
commit
6142a267db
11 changed files with 40 additions and 30 deletions
|
|
@ -346,8 +346,8 @@ class StreamingPiCamera2(BaseCamera):
|
|||
sensor_modes property, and then starts the streams.
|
||||
"""
|
||||
self._initialise_picamera()
|
||||
# populate sensor modes by reading the property
|
||||
self.sensor_modes
|
||||
# Sensor modes is a cached property read it once after initialising the camera
|
||||
_modes = self.sensor_modes
|
||||
self.start_streaming()
|
||||
return self
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue