Skip to content

Commit

Permalink
GenericDiffractometer: fix debug log message
Browse files Browse the repository at this point in the history
Fix a presumed typo when using f-string.
  • Loading branch information
elmjag authored and rhfogh committed Jul 7, 2024
1 parent afcb02d commit 0bff8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxcubecore/HardwareObjects/GenericDiffractometer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ def move_motors(self, motor_positions, timeout=15):

for motor in motor_positions.keys():
position = motor_positions[motor]
self.log.debug(u"moving motor {motor} to position {position}")
self.log.debug(f"moving motor {motor} to position {position}")
"""
if isinstance(motor, (str, unicode)):
logging.getLogger("HWR").debug(" Moving %s to %s" % (motor, position))
Expand Down

0 comments on commit 0bff8ba

Please sign in to comment.