Skip to content

Commit

Permalink
fix custom variants provisioning
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Apr 20, 2023
1 parent e451d3e commit ed3d7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sros/docker/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ def configureCards(self):
for line in iter(self.variant["card_config"].splitlines()):
self.wait_write(line)
# else this might be a distributed chassis
elif self.variant["lcs"] is not None:
elif self.variant.get("lcs") is not None:
for lc in self.variant["lcs"]:
if "card_config" in lc:
for line in iter(lc["card_config"].splitlines()):
Expand Down

0 comments on commit ed3d7f9

Please sign in to comment.