Fix defaults for cofig generation
This commit is contained in:
@@ -38,7 +38,7 @@ class ConfigGenerator:
|
||||
"type": self.type,
|
||||
"systemName": self.systemName,
|
||||
"channels": self.channels,
|
||||
"tags": [tag.to_dict() for tag in self.tags] if self.tags else None,
|
||||
"whitelist": self.whitelist if self.whitelist else None
|
||||
"tags": [tag.to_dict() for tag in self.tags] if self.tags else [],
|
||||
"whitelist": self.whitelist if self.whitelist else []
|
||||
}
|
||||
return data
|
||||
|
||||
Reference in New Issue
Block a user