mirror of
https://github.com/esphome/esphome.git
synced 2025-09-29 16:42:19 +01:00
Fix dashboard wizard unicode (#494)
* Fix dashboard wizard unicode Fixes https://github.com/esphome/issues/issues/169 * Fix password md5
This commit is contained in:
@@ -195,7 +195,7 @@ def perform_ota(sock, password, file_handle, filename):
|
||||
send_check(sock, cnonce, 'auth cnonce')
|
||||
|
||||
result_md5 = hashlib.md5()
|
||||
result_md5.update(password.encode())
|
||||
result_md5.update(password.encode('utf-8'))
|
||||
result_md5.update(nonce.encode())
|
||||
result_md5.update(cnonce.encode())
|
||||
result = result_md5.hexdigest()
|
||||
|
Reference in New Issue
Block a user