Have Device Flags be an empty dict if none set

This commit is contained in:
rlaphoenix 2023-11-08 21:24:44 +00:00
parent 0c31f88d23
commit 97ec2e1c60
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class Device:
self.type = self.Types[type_] if isinstance(type_, str) else type_
self.security_level = security_level
self.flags = flags
self.flags = flags or {}
self.private_key = RSA.importKey(private_key)
self.client_id = ClientIdentification()
try: