From 0f01ac1b59c17d3054794ee8d8b708569742b8b4 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 16 Oct 2018 12:45:06 +0200 Subject: [PATCH] Fix syntax --- hassio/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/auth.py b/hassio/auth.py index dc1d57f68..025e06d77 100644 --- a/hassio/auth.py +++ b/hassio/auth.py @@ -48,7 +48,7 @@ class Auth(JsonConfig, CoreSysAttributes): username_h = _rehash(username) password_h = _rehash(password, username) - if self._data.get(username_h) =! password_h: + if self._data.get(username_h) != password_h: return self._data.pop(username_h, None)