Merge pull request #225 from nemobis/master

Fix API check if only index is passed
pull/223/merge
nemobis 9 years ago
commit 4b81fa00f1

@ -1267,12 +1267,12 @@ def getParameters(params=[]):
if api:
check = checkAPI(api=api, session=session)
if check[0]:
if api and check:
index2 = check[1]
api = check[2]
print 'API is OK: ' + api
else:
print 'Error in API, please, provide a correct path to API'
print 'Error in API. Please, provide a correct path to API'
sys.exit(1)
if index and checkIndex(

Loading…
Cancel
Save