Skip to content

Commit 7263868

Browse files
authored
v0.18.0
version 0.18.0
2 parents 53eba3a + 2b35eff commit 7263868

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyobs_alpaca/telescope.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async def init(self, **kwargs: Any) -> None:
9797
raise exc.InitError("Weather seems to be bad.")
9898

9999
# if already initializing, ignore
100-
if await self.get_motion_status() == MotionStatus.INITIALIZING:
100+
if await self.get_motion_status() in [MotionStatus.INITIALIZING, MotionStatus.ERROR]:
101101
return
102102

103103
# acquire lock
@@ -132,7 +132,7 @@ async def park(self, **kwargs: Any) -> None:
132132
"""
133133

134134
# if already parking, ignore
135-
if await self.get_motion_status() == MotionStatus.PARKING:
135+
if await self.get_motion_status() == [MotionStatus.PARKING, MotionStatus.ERROR]:
136136
return
137137

138138
# acquire lock

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pyobs-alpaca"
3-
version = "0.16.6"
3+
version = "0.18.0"
44
description = "pyobs module for ASCOM Alpaca"
55
authors = ["Tim-Oliver Husser <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)