Merge pull request #99 from blockstack/ssl-no-verify

fixed bug where port read from ENV should be int
This commit is contained in:
Muneeb Ali
2015-07-28 18:48:37 -04:00

View File

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