Skip to content

Commit d192e25

Browse files
authored
v1.2.1
version 1.2.1
2 parents 5219ad2 + 93fad4c commit d192e25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyobs_qhyccd/qhyccdcamera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ async def _wait_for_reaching_temperature(self, target_temperature, wait_step=1):
247247
print("Current temperature is", await self._get_ccd_temperature(), "Target temperature is", target_temperature)
248248
if await self._cooling_bug_occured():
249249
break
250-
time.sleep(wait_step)
250+
await asyncio.sleep(wait_step)
251251

252252
async def _cooling_bug_occured(self):
253253
return (self._driver.get_param(Control.CONTROL_CURPWM) > 250) & (await self._get_ccd_temperature() < 0)

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-qhyccd"
3-
version = "1.2.0"
3+
version = "1.2.1"
44
description = "pyobs module for QHYCCD cameras"
55
authors = ["Tim-Oliver Husser <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)