diff --git a/bitcoin/rpc.py b/bitcoin/rpc.py index 0a4f8bb..3fcdd4c 100644 --- a/bitcoin/rpc.py +++ b/bitcoin/rpc.py @@ -1,5 +1,3 @@ - - # Copyright 2011 Jeff Garzik # # RawProxy has the following improvements over python-jsonrpc's ServiceProxy @@ -78,9 +76,9 @@ def __init__(self, service_url=None, # Figure out the path to the bitcoin.conf file if btc_conf_file is None: if platform.system() == 'Darwin': - btc_conf_file = os.path.join(os.environ['APPDATA'], 'Bitcoin') - elif platform.system() == 'Windows': btc_conf_file = os.path.expanduser('~/Library/Application Support/Bitcoin/') + elif platform.system() == 'Windows': + btc_conf_file = os.path.join(os.environ['APPDATA'], 'Bitcoin') else: btc_conf_file = os.path.expanduser('~/.bitcoin') btc_conf_file = os.path.join(btc_conf_file, 'bitcoin.conf')