diff --git a/fspecs.py b/fspecs.py index 1f0a553..741ce0e 100644 --- a/fspecs.py +++ b/fspecs.py @@ -58,7 +58,10 @@ def getInfo(part,defn,index = 0): except: return False - out = out.replace("\r","") + out = out.replace("\r","").replace(" "," ") + + while " " in out: + out = out.replace(" "," ") try: while out[0] == " " or out[0] == " ":