store PV name on Camera objects

This commit is contained in:
2021-06-09 16:06:57 +02:00
parent 3a311c070f
commit 80a48babc2

View File

@ -13,6 +13,7 @@ class Camera(CachedSource, PVCollection):
#TODO: could also accept base as argument, and also append ":FPICTURE"
def __init__(self, pvname):
self.pvname = pvname
assert pvname.endswith(":FPICTURE")
base = pvname.rsplit(":", 1)[0]
PVCollection.__init__(