Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotan committed Jun 7, 2024
1 parent ce50553 commit 9002d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sardananxsrecorder/nxsrecorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def _serial(self, scanID):
if "INIT" in self.skipAcquisitionModes:
if self.__macro:
serial = self.__macro().getEnv('NeXusMeshScanID', None)
if serial is not None:
if serial is None:
if scanID is None:
serial = self.recordlist.getEnvironValue('serialno')
elif scanID >= 0:
Expand Down

0 comments on commit 9002d51

Please sign in to comment.