Fix operator typo in price-comparison
This commit is contained in:
parent
a2995a71a7
commit
48446a9ad7
@ -87,7 +87,7 @@ class Bitcoin(IntervalModule):
|
||||
if self._price_prev and fdict["last_price"] > self._price_prev:
|
||||
color = self.color_up
|
||||
fdict["status"] = self.status["price_up"]
|
||||
elif self._price_prev and fdict["last_price"] > self._price_prev:
|
||||
elif self._price_prev and fdict["last_price"] < self._price_prev:
|
||||
color = self.color_down
|
||||
fdict["status"] = self.status["price_down"]
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user