Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
vinodmishra committed May 31, 2020
1 parent d3dc51e commit ae484b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/badnest/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,10 @@ def camera_get_image(self, device_id, now):
if device_id not in self.cameras:
return

camera_url = self.device_data[device_id]['camera_url']

r = self._session.get(
f'https://{self.device_data[device_id]['camera_url']}/get_image?uuid={device_id}' +
f'https://{camera_url}/get_image?uuid={device_id}' +
f'&cachebuster={now}',
)

Expand Down

0 comments on commit ae484b8

Please sign in to comment.