mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-06-03 18:40:41 +02:00
fix: bugfix
This commit is contained in:
parent
3e1a2b86c3
commit
7fefb44462
@ -1,6 +1,7 @@
|
|||||||
import enum
|
import enum
|
||||||
import os
|
import os
|
||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
from typing import List
|
||||||
|
|
||||||
from ophyd import Device
|
from ophyd import Device
|
||||||
from ophyd.device import Staged
|
from ophyd.device import Staged
|
||||||
@ -282,7 +283,7 @@ class SLSDetectorBase(ABC, Device):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
# Method idempotent, should rais ;obj;'RedudantStaging' if staged twice
|
# Method idempotent, should rais ;obj;'RedudantStaging' if staged twice
|
||||||
if self._staged == Staged.yes:
|
if self._staged != Staged.no:
|
||||||
return super().stage()
|
return super().stage()
|
||||||
else:
|
else:
|
||||||
# Reset flag for detector stopped
|
# Reset flag for detector stopped
|
||||||
|
Loading…
x
Reference in New Issue
Block a user