diff --git a/src/CashFlow_ExtMod.py b/src/CashFlow_ExtMod.py index 4dbc30808..d4ffe4dd4 100644 --- a/src/CashFlow_ExtMod.py +++ b/src/CashFlow_ExtMod.py @@ -173,7 +173,7 @@ def __init__(self): myInputs = {} with open(inpOpt.iINP[0]) as f: for l in f: - if l.strip().startswith("#"): + if l.strip().startswith("#") or not len(l.strip()): continue (key, val) = l.split(' ', 1) myInputs[key] = np.array([float(n) for n in val.split(",")])