Use str literals (#33654)
This commit is contained in:
1 parent
886308a953
commit
03cae17992
3 files changed
+4
-4
No files matched your search
@@ -66,7 +66,7 @@ class ZwaveFlowHandler(config_entries.ConfigFlow):
|
||||
# Generate a random key
|
||||
from random import choice
|
||||
|
||||
key = str()
|
||||
key = ""
|
||||
for i in range(16):
|
||||
key += "0x"
|
||||
key += choice("1234567890ABCDEF")
|
||||
|
||||
Reference in new issue
Block a user