Skip to content

Commit 17dcde4

Browse files
authored
v1.3.0
version 1.3.0
2 parents cacd427 + 44da731 commit 17dcde4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyobs_pilar/pilartelescope.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ async def _pilar_update(self) -> None:
221221
elif 0.0 < float(self._status["TELESCOPE.READY_STATE"]) < 1.0:
222222
await self._change_motion_status(MotionStatus.INITIALIZING)
223223
else:
224-
# only check motion state, if currently in an undefined state
225-
if await self.get_motion_status() in [MotionStatus.UNKNOWN, MotionStatus.ERROR]:
224+
# only check motion state, if currently in an undefined state, error or initializing
225+
if await self.get_motion_status() in [MotionStatus.UNKNOWN, MotionStatus.ERROR, MotionStatus.INITIALIZING]:
226226
# telescope is initialized, check motion state
227227
ms = int(self._status["TELESCOPE.MOTION_STATE"])
228228
if ms & (1 << 1):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pyobs-pilar"
3-
version = "1.2.2"
3+
version = "1.3.0"
44
description = "pyobs module for Pilar TCS"
55
authors = ["Tim-Oliver Husser <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)