got rid of magic number
This commit is contained in:
parent
c2713f6089
commit
3f167cb650
|
@ -31,7 +31,7 @@ class Exchanger(threading.Thread):
|
|||
connection = httplib.HTTPSConnection('intersango.com')
|
||||
connection.request("GET", "/api/ticker.php")
|
||||
response = connection.getresponse()
|
||||
if response.status == 404:
|
||||
if response.reason == httplib.responses[httplib.NOT_FOUND]:
|
||||
return
|
||||
response = json.loads(response.read())
|
||||
# 1 = BTC:GBP
|
||||
|
|
|
@ -535,7 +535,7 @@ class MiniActuator:
|
|||
set_quote_currency(currency)
|
||||
|
||||
def set_config_currency(self, conversion_currency):
|
||||
"""Change the fiat currency conversion country."""
|
||||
"""Change the wallet fiat currency country."""
|
||||
self.wallet.conversion_currency = conversion_currency
|
||||
|
||||
def copy_address(self, receive_popup):
|
||||
|
|
Loading…
Reference in New Issue