Skip to content

Commit

Permalink
Merge pull request #1222 from Bastian-Krause/bst/coordinator-places-init
Browse files Browse the repository at this point in the history
remote/coordinator: fix resetting places to an empty set
  • Loading branch information
Emantor committed Jul 14, 2023
2 parents 7b5b7ca + 79d71ab commit ed4e12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labgrid/remote/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ async def save(self):

def load(self):
try:
self.place = {}
self.places = {}
with open('places.yaml', 'r') as f:
self.places = yaml.load(f.read())
for placename, config in self.places.items():
Expand Down

0 comments on commit ed4e12e

Please sign in to comment.