Have Device Flags be an empty dict if none set
This commit is contained in:
parent
0c31f88d23
commit
97ec2e1c60
|
@ -105,7 +105,7 @@ class Device:
|
||||||
|
|
||||||
self.type = self.Types[type_] if isinstance(type_, str) else type_
|
self.type = self.Types[type_] if isinstance(type_, str) else type_
|
||||||
self.security_level = security_level
|
self.security_level = security_level
|
||||||
self.flags = flags
|
self.flags = flags or {}
|
||||||
self.private_key = RSA.importKey(private_key)
|
self.private_key = RSA.importKey(private_key)
|
||||||
self.client_id = ClientIdentification()
|
self.client_id = ClientIdentification()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue