Skip to content
Snippets Groups Projects
Commit 5bacd9c9 authored by Holger Nahrstaedt's avatar Holger Nahrstaedt
Browse files

fix next bug

parent 026ad283
No related branches found
No related tags found
No related merge requests found
...@@ -281,9 +281,9 @@ class Steem(object): ...@@ -281,9 +281,9 @@ class Steem(object):
def get_median_price(self): def get_median_price(self):
median_price = self.get_current_median_history_price() median_price = self.get_current_median_history_price()
a = ( a = Price(None,
Amount(median_price['base']) / base=Amount(median_price['base']),
Amount(median_price['quote']) quote=Amount(median_price['quote']),
) )
return a.as_base("SBD") return a.as_base("SBD")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment