From 6d2d4e08ec44202ce12c72d60f79e3428c51e002 Mon Sep 17 00:00:00 2001 From: Ayaz Abbas Date: Mon, 13 May 2024 12:30:58 +0100 Subject: [PATCH 1/2] fix --- pyth_observer/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyth_observer/event.py b/pyth_observer/event.py index 2987683..feb63ee 100644 --- a/pyth_observer/event.py +++ b/pyth_observer/event.py @@ -41,7 +41,7 @@ async def send(self): event_content = self.check.error_message() event_title = event_content["msg"] event_text = "" - for key, value in event_content: + for key, value in event_content.items(): event_text += f"{key}: {value}\n" # An example is: PriceFeedOfflineCheck-Crypto.AAVE/USD From 86a1ad3c745af402b1ab5f6b2f5fdb7f02daa077 Mon Sep 17 00:00:00 2001 From: Ayaz Abbas Date: Mon, 13 May 2024 12:31:48 +0100 Subject: [PATCH 2/2] patch version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b9eb2dc..5f30f8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ ignore_missing_imports = true [tool.poetry] name = "pyth-observer" -version = "0.2.2" +version = "0.2.3" description = "Alerts and stuff" authors = [] readme = "README.md"