mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix wrong merge
This commit is contained in:
parent
4abbbf0f50
commit
7d4b11f4ec
@ -222,10 +222,6 @@ class RequestHandler(SimpleHTTPRequestHandler):
|
|||||||
if url.path not in [URL_ROOT, URL_API_EVENT_FORWARD]:
|
if url.path not in [URL_ROOT, URL_API_EVENT_FORWARD]:
|
||||||
data.pop(DATA_API_PASSWORD, None)
|
data.pop(DATA_API_PASSWORD, None)
|
||||||
|
|
||||||
# we really shouldn't need to forward the password from here
|
|
||||||
if url.path not in [URL_ROOT, URL_API_EVENT_FORWARD]:
|
|
||||||
data.pop(DATA_API_PASSWORD, None)
|
|
||||||
|
|
||||||
if '_METHOD' in data:
|
if '_METHOD' in data:
|
||||||
method = data.pop('_METHOD')
|
method = data.pop('_METHOD')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user