Replace double spaces and tabs with spaces
This commit is contained in:
parent
3595f6e4ec
commit
0cee8eeee2
|
@ -58,7 +58,10 @@ def getInfo(part,defn,index = 0):
|
||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
out = out.replace("\r","")
|
out = out.replace("\r","").replace(" "," ")
|
||||||
|
|
||||||
|
while " " in out:
|
||||||
|
out = out.replace(" "," ")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
while out[0] == " " or out[0] == " ":
|
while out[0] == " " or out[0] == " ":
|
||||||
|
|
Loading…
Reference in New Issue