[bugfix] checked identity of 'None' in autoPyLoT

This commit is contained in:
Marcel Paffrath 2017-08-18 11:44:55 +02:00
parent 53aa02669c
commit 8a024b66e0

View File

@ -132,7 +132,7 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even
datastructure.setExpandFields(exf) datastructure.setExpandFields(exf)
# check if default location routine NLLoc is available # check if default location routine NLLoc is available
if parameter['nllocbin'] and locflag: if real_None(parameter['nllocbin']) and locflag:
# get NLLoc-root path # get NLLoc-root path
nllocroot = parameter.get('nllocroot') nllocroot = parameter.get('nllocroot')
# get path to NLLoc executable # get path to NLLoc executable