Fixed Typo
This commit is contained in:
parent
61c3400098
commit
e658a91d9a
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
*.pyc
|
||||||
|
conf/config.py
|
||||||
|
*.log
|
||||||
|
LOG
|
||||||
@ -23,7 +23,7 @@ class BitcoinRPCManager(object):
|
|||||||
self.conns[0] = BitcoinRPC(settings.COINDAEMON_TRUSTED_HOST,
|
self.conns[0] = BitcoinRPC(settings.COINDAEMON_TRUSTED_HOST,
|
||||||
settings.COINDAEMON_TRUSTED_PORT,
|
settings.COINDAEMON_TRUSTED_PORT,
|
||||||
settings.COINDAEMON_TRUSTED_USER,
|
settings.COINDAEMON_TRUSTED_USER,
|
||||||
settings.COINDAEMIN_TRUSTED_PASSWORD)
|
settings.COINDAEMON_TRUSTED_PASSWORD)
|
||||||
self.curr_conn = 0
|
self.curr_conn = 0
|
||||||
for x in range (1, 99):
|
for x in range (1, 99):
|
||||||
if hasattr(settings, 'COINDAEMON_TRUSTED_HOST_' + str(x)) and hasattr(settings, 'COINDAEMON_TRUSTED_PORT_' + str(x)) and hasattr(settings, 'COINDAEMON_TRUSTED_USER_' + str(x)) and hasattr(settings, 'COINDAEMON_TRUSTED_PASSWORD_' + str(x)):
|
if hasattr(settings, 'COINDAEMON_TRUSTED_HOST_' + str(x)) and hasattr(settings, 'COINDAEMON_TRUSTED_PORT_' + str(x)) and hasattr(settings, 'COINDAEMON_TRUSTED_USER_' + str(x)) and hasattr(settings, 'COINDAEMON_TRUSTED_PASSWORD_' + str(x)):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user