We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2257b3 commit 21cecf7Copy full SHA for 21cecf7
src/genie_python/genie_dae.py
@@ -2242,9 +2242,9 @@ def get_autosave_freq(self) -> int | None:
2242
Gets the ICP autosave frequency (Frames).
2243
"""
2244
val = self._get_pv_value(self._get_dae_pv_name("autosave_freq"))
2245
- assert isinstance(val, (int, float, NoneType))
+ assert isinstance(val, (int, float, type(None)))
2246
return int(val) if val is not None else None
2247
-
+
2248
def set_autosave_freq(self, freq: int) -> None:
2249
2250
Sets the ICP autosave frequency (Frames).
0 commit comments