更新sant的固件
This commit is contained in:
Binary file not shown.
@@ -42,7 +42,7 @@ class Camera(Camera):
|
|||||||
if path is None:
|
if path is None:
|
||||||
return self.capture()
|
return self.capture()
|
||||||
else:
|
else:
|
||||||
Image.save(self.capture(), path, quality, rotation)
|
Image.save(self.capture(), path, quality=quality, rotation=rotation)
|
||||||
|
|
||||||
def capture(self):
|
def capture(self):
|
||||||
return IMG(super().capture(), self.get_pixel_width(), self.get_pixel_height())
|
return IMG(super().capture(), self.get_pixel_width(), self.get_pixel_height())
|
||||||
|
|||||||
Reference in New Issue
Block a user