got rid of magic number

This commit is contained in:
Jimbo77 2012-08-22 19:50:21 -07:00
parent c2713f6089
commit 3f167cb650
2 changed files with 2 additions and 2 deletions

View File

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

View File

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