Fix defaults for cofig generation

This commit is contained in:
Logan Cusano
2025-04-27 02:57:42 -04:00
parent f8fb251290
commit 021a1541cc

View File

@@ -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