Fixed some linting errors

This commit is contained in:
jamespcole committed 2015-07-10 20:10:23 +10:00
1 parent 9a63f34129
commit bf2b06880e
2 files changed
+5 -4

No files matched your search

+2 -4
View File
@@ -33,8 +33,6 @@ from homeassistant.const import (
ATTR_ENTITY_PICTURE,
HTTP_NOT_FOUND,
ATTR_ENTITY_ID,
HTTP_HEADER_CONTENT_TYPE,
CONTENT_TYPE_MULTIPART
)
from homeassistant.helpers.entity_component import EntityComponent
@@ -130,8 +128,8 @@ def setup(hass, config):
camera = component.entities[entity_id]
if not camera:
self.handler.send_response(HTTP_NOT_FOUND)
self.handler.end_headers()
handler.send_response(HTTP_NOT_FOUND)
handler.end_headers()
return
try: