From 7dabe0a4f6cfb75fc1397023c76e61fbf8ff64fd Mon Sep 17 00:00:00 2001 From: Tim-Oliver Husser Date: Thu, 21 Sep 2023 14:11:05 +0200 Subject: [PATCH 1/2] fixed bug --- pyobs/modules/utils/telegram.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyobs/modules/utils/telegram.py b/pyobs/modules/utils/telegram.py index 3ed56618..432ca2f6 100644 --- a/pyobs/modules/utils/telegram.py +++ b/pyobs/modules/utils/telegram.py @@ -538,9 +538,7 @@ async def _log_sender_thread(self) -> None: try: if self._application is None: raise ValueError("No update initialised.") - await loop.run_in_executor( - None, partial(self._application.bot.send_message, chat_id=user_id, text=message) - ) + await self._application.bot.send_message(chat_id=user_id, text=message) except Exception: # something went wrong, sleep a little and queue message again From 85893114d98c75177dd4a9938f1cfbb29e638e22 Mon Sep 17 00:00:00 2001 From: Tim-Oliver Husser Date: Thu, 21 Sep 2023 14:11:13 +0200 Subject: [PATCH 2/2] v1.5.6 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a910432a..2d1b4df6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "pyobs-core" packages = [{ include = "pyobs" }] -version = "1.5.5" +version = "1.5.6" description = "robotic telescope software" authors = ["Tim-Oliver Husser "] license = "MIT"