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" 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