From 54d2e56e4f59351b5e851d4c9c1289fe6de43096 Mon Sep 17 00:00:00 2001 From: snaky69 <108159253+ic-dev21@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:38:23 -0500 Subject: [PATCH 1/2] Typo phase recovery Fixes #162 --- pyhilo/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyhilo/event.py b/pyhilo/event.py index e345868..67b98a1 100644 --- a/pyhilo/event.py +++ b/pyhilo/event.py @@ -111,7 +111,7 @@ def state(self) -> str: return "reduction" elif self.recovery_start <= now < self.recovery_end: return "recovery" - elif now <= self.recovery_end: + elif now >= self.recovery_end: return "completed" elif self.progress: return self.progress From 156f5dbc9f5c2feb597b558ef4fc03cca9434cb5 Mon Sep 17 00:00:00 2001 From: snaky69 <108159253+ic-dev21@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:46:47 -0500 Subject: [PATCH 2/2] Update pyproject.toml Bump up version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2dad393..d793437 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ exclude = ".venv/.*" [tool.poetry] name = "python-hilo" -version = "2023.12.01" +version = "2024.1.1" description = "A Python3, async interface to the Hilo API" readme = "README.md" authors = ["David Vallee Delisle "]