Skip to content
Snippets Groups Projects
Commit c856c117 authored by Paulus Schoutsen's avatar Paulus Schoutsen
Browse files

PEP8 style fix

parent 8ae9faf1
No related branches found
No related tags found
No related merge requests found
......@@ -415,10 +415,10 @@ class RequestHandler(SimpleHTTPRequestHandler):
status_code = HTTP_CREATED if is_new_state else HTTP_OK
self._write_json(state.as_dict(),
status_code=status_code,
location=
rem.URL_API_STATES_ENTITY.format(entity_id))
self._write_json(
state.as_dict(),
status_code=status_code,
location=rem.URL_API_STATES_ENTITY.format(entity_id))
else:
self._message(
"State of {} changed to {}".format(entity_id, new_state))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment