fix: reference to beamline in bec worker

This commit is contained in:
David Perl authored and perl_d committed 2026-08-25 09:30:59 +02:00
1 parent 24c3741465
commit 8ad3042e0d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -414,7 +414,7 @@ class BECClientWorker:
logger.warning(
f"Energy change may have failed, current energy: {self.check_current_energy()} eV"
)
if beamline is MXBeamline.X10SA:
if self.beamline is MXBeamline.X10SA:
additonal_text = [
f"New dcm_bragg position: {self.dev.dcm_bragg.position:4g} mrad",
f"New dcm_pitch position: {self.dev.dcm_pitch.position:4g} ",