Fix for check if a parameter is None.
This commit is contained in:
@@ -90,7 +90,7 @@ for line in open(args.conf).readlines():
|
|||||||
metad = MetaDataExtern(ONTS.values(), ATTRCONV, spec[1],
|
metad = MetaDataExtern(ONTS.values(), ATTRCONV, spec[1],
|
||||||
sc, cert=spec[2], http=httpc, **kwargs)
|
sc, cert=spec[2], http=httpc, **kwargs)
|
||||||
|
|
||||||
if metad:
|
if metad is not None:
|
||||||
try:
|
try:
|
||||||
metad.load()
|
metad.load()
|
||||||
except:
|
except:
|
||||||
|
Reference in New Issue
Block a user