updated create_quote_text() docstring
This commit is contained in:
parent
36e250d3ab
commit
fac2bc7387
|
@ -300,7 +300,8 @@ class MiniWindow(QDialog):
|
||||||
self.balance_label.show_balance()
|
self.balance_label.show_balance()
|
||||||
|
|
||||||
def create_quote_text(self, btc_balance):
|
def create_quote_text(self, btc_balance):
|
||||||
"""Return a string copy of the amount of bitcoins in the argument."""
|
"""Return a string copy of the amount fiat currency the
|
||||||
|
user has in bitcoins."""
|
||||||
quote_currency = self.quote_currencies[0]
|
quote_currency = self.quote_currencies[0]
|
||||||
quote_balance = self.exchanger.exchange(btc_balance, quote_currency)
|
quote_balance = self.exchanger.exchange(btc_balance, quote_currency)
|
||||||
if quote_balance is None:
|
if quote_balance is None:
|
||||||
|
|
Loading…
Reference in New Issue