mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-06-18 20:06:05 +08:00
Merge pull request #99 from blockstack/ssl-no-verify
fixed bug where port read from ENV should be int
This commit is contained in:
@@ -46,7 +46,7 @@ BLOCKSTORED_CONFIG_FILE = 'blockstore.ini'
|
||||
|
||||
try:
|
||||
BLOCKSTORED_SERVER = os.environ['BLOCKSTORED_SERVER']
|
||||
BLOCKSTORED_PORT = os.environ['BLOCKSTORED_PORT']
|
||||
BLOCKSTORED_PORT = int(os.environ['BLOCKSTORED_PORT'])
|
||||
except KeyError:
|
||||
BLOCKSTORED_SERVER = 'localhost'
|
||||
BLOCKSTORED_PORT = DEFAULT_BLOCKSTORED_PORT
|
||||
|
||||
Reference in New Issue
Block a user