Fix Enum conversion for ATH and ATL strings
This commit is contained in:
parent
5a2e183ccd
commit
130406786f
@ -32,5 +32,9 @@ class AlertType(Enum):
|
|||||||
return AlertType.YEARLY_HIGH
|
return AlertType.YEARLY_HIGH
|
||||||
case "Yearly Low":
|
case "Yearly Low":
|
||||||
return AlertType.YEARLY_LOW
|
return AlertType.YEARLY_LOW
|
||||||
|
case "All Time High":
|
||||||
|
return AlertType.ALL_TIME_HIGH
|
||||||
|
case "All Time Low":
|
||||||
|
return AlertType.ALL_TIME_LOW
|
||||||
case _:
|
case _:
|
||||||
return AlertType.SPECIFIC_PRICE
|
return AlertType.SPECIFIC_PRICE
|
Loading…
Reference in New Issue
Block a user