Skip to content

Commit

Permalink
Renamed falsely named parameter in Picamera, closes reuterbal#27
Browse files Browse the repository at this point in the history
  • Loading branch information
reuterbal committed Jul 18, 2018
1 parent f2fae9b commit e7a4e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion photobooth/camera/CameraPicamera.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def getPreview(self):
self.setActive()
stream = io.BytesIO()
self._cap.capture(stream, format='jpeg', use_video_port=True,
resolution=self._preview_resolution)
resize=self._preview_resolution)
stream.seek(0)
return Image.open(stream)

Expand Down

0 comments on commit e7a4e93

Please sign in to comment.