Skip to content

Commit

Permalink
Update src/eiger_fastcs/eiger_controller.py
Browse files Browse the repository at this point in the history
Co-authored-by: Gary Yendell <[email protected]>
  • Loading branch information
TBThomas56 and GDYendell authored Nov 8, 2023
1 parent ffa92f3 commit ab8110f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/eiger_fastcs/eiger_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ async def initialise(self) -> None:
for dupl in PVs_compl:
attributes[PVs_compl[dupl]] = attributes.pop(dupl)

for names in list(attributes.keys()):
setattr(self, names, attributes[names])
for name, attribute in attributes.items():
setattr(self, name, attribute)

await connection.close()

Expand Down

0 comments on commit ab8110f

Please sign in to comment.