diff --git a/baz.py b/baz.py index fb05ced..d3a0774 100755 --- a/baz.py +++ b/baz.py @@ -39,7 +39,7 @@ class Computer: # Computers: comps = {} -for i, n in enumerate('ABCDEFGHIX'): +for i, n in enumerate('ABCDEFGHIX', start=1): comps[n] = Computer(n, i) # Bridges @@ -72,6 +72,7 @@ for net, cs in conns.items(): for c in cs: comps[c].add_to_bridge(bridges[net]) +os.mkdir('output') dump_bridges('output/bridges') for c in comps.values():