long line

This commit is contained in:
Diogo Gomes
2018-06-27 00:37:53 +01:00
parent 12c8a4de02
commit b3383c70b3

View File

@@ -86,7 +86,7 @@ class CameraPushReceiver(HomeAssistantView):
return self.json_message('Invalid POST', HTTP_BAD_REQUEST)
except KeyError as key_error:
_LOGGER.error('In your POST message %s', key_error)
return self.json_message('Parameter {} missing'.format(self._image),
return self.json_message('{} missing'.format(self._image),
HTTP_BAD_REQUEST)