Fix operator typo in price-comparison

This commit is contained in:
Chris Wood 2014-07-18 03:38:41 -04:00
parent a2995a71a7
commit 48446a9ad7

View File

@ -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: