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