Skip to content

Commit

Permalink
Merge pull request #35 from ostafen/master
Browse files Browse the repository at this point in the history
Fix ERROR: network must be a mapping, not an array.
  • Loading branch information
Red5d authored Mar 10, 2022
2 parents d783902 + caa747b commit e32c9d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autocompose.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ def main():
args = parser.parse_args()

struct = {}
networks = set()
networks = {}
for cname in args.cnames:
cfile, c_networks = generate(cname)

struct.update(cfile)
networks.update(c_networks)

render(struct, args, list(networks))
render(struct, args, networks)


def render(struct, args, networks):
Expand Down

0 comments on commit e32c9d4

Please sign in to comment.