We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f97e7f commit f1f8d04Copy full SHA for f1f8d04
fmd_api/device.py
@@ -107,11 +107,11 @@ async def download_photo(self, picture_blob_b64: str) -> PhotoResult:
107
We decrypt the blob to get a base64-encoded image string; decode that to bytes and return.
108
"""
109
warnings.warn(
110
- "Device.download_photo() is deprecated; use get_picture()",
+ "Device.download_photo() is deprecated; use decode_picture()",
111
DeprecationWarning,
112
stacklevel=2,
113
)
114
- return await self.get_picture(picture_blob_b64)
+ return await self.decode_picture(picture_blob_b64)
115
116
async def take_front_picture(self) -> bool:
117
"""Request a picture from the front camera."""
0 commit comments