mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 07:47:08 +00:00
remove unnecessary else
This commit is contained in:
parent
9acb341b96
commit
df264f2ec0
@ -134,7 +134,6 @@ def setup(hass, config):
|
|||||||
img_bytes = camera.camera_image()
|
img_bytes = camera.camera_image()
|
||||||
if img_bytes is None:
|
if img_bytes is None:
|
||||||
continue
|
continue
|
||||||
else:
|
|
||||||
headers_str = '\r\n'.join((
|
headers_str = '\r\n'.join((
|
||||||
'Content-length: {}'.format(len(img_bytes)),
|
'Content-length: {}'.format(len(img_bytes)),
|
||||||
'Content-type: image/jpeg',
|
'Content-type: image/jpeg',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user