Few fixes of the main script

master
LEdoian 3 years ago
parent 37d55b8e3b
commit 82905c2b20

@ -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():

Loading…
Cancel
Save