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
|
||||
case "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 _:
|
||||
return AlertType.SPECIFIC_PRICE
|
Loading…
Reference in New Issue
Block a user