Skip to content

Commit

Permalink
fix: asset_type market open bug (#60)
Browse files Browse the repository at this point in the history
* fix asset type market open

* bump
  • Loading branch information
cctdaniel authored May 7, 2024
1 parent 195e81a commit f1c7b72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ignore_missing_imports = true

[tool.poetry]
name = "pyth-observer"
version = "0.1.13"
version = "0.1.14"
description = "Alerts and stuff"
authors = []
readme = "README.md"
Expand Down
6 changes: 3 additions & 3 deletions pyth_observer/check/price_feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def state(self) -> PriceFeedState:

def run(self) -> bool:
market_open = is_market_open(
self.__state.asset_type,
self.__state.asset_type.lower(),
datetime.now(ZoneInfo("America/New_York")),
)

Expand Down Expand Up @@ -182,7 +182,7 @@ def run(self) -> bool:
return True

market_open = is_market_open(
self.__state.asset_type,
self.__state.asset_type.lower(),
datetime.now(ZoneInfo("America/New_York")),
)

Expand Down Expand Up @@ -244,7 +244,7 @@ def run(self) -> bool:
return True

market_open = is_market_open(
self.__state.asset_type,
self.__state.asset_type.lower(),
datetime.now(ZoneInfo("America/New_York")),
)

Expand Down

0 comments on commit f1c7b72

Please sign in to comment.