Skip to content

Commit

Permalink
Merge pull request #163 from ic-dev21/main
Browse files Browse the repository at this point in the history
Fix pour l'état unknown fin de défi
  • Loading branch information
ic-dev21 authored Jan 10, 2024
2 parents 6f35631 + 1e49850 commit 36e4688
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyhilo/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"]
Expand Down

0 comments on commit 36e4688

Please sign in to comment.