1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-25 05:53:00 +00:00
This commit is contained in:
Jörn-Michael Miehe 2021-10-14 05:12:33 +02:00
parent 7345177195
commit 92802aa5ea

View file

@ -62,7 +62,7 @@ class _Project(BaseModel):
name, enabled = list(values.items())[0] name, enabled = list(values.items())[0]
return { return {
"name": name, "name": name,
"enabled": True if enabled is None else enabled "enabled": True if enabled is None else enabled,
} }
else: else:
@ -82,7 +82,7 @@ class _Network(BaseModel):
return { return {
"name": self.name, "name": self.name,
"cidr": str(self.cidr) "cidr": str(self.cidr),
} }