Fix Space

This commit is contained in:
Minoplhy 2021-08-12 16:52:24 +07:00
parent e124417a7f
commit dae13439d9

View File

@ -9,7 +9,7 @@ outfile = sys.argv[2]
with open(infile) as f:
file = f.read().split('\n')
for i in range(len(file)):
file[i] = re.sub('^127.0.0.1 ', ' ', file[i])
file[i] = re.sub('^127.0.0.1 ', '', file[i])
file[i] = re.sub('^0.0.0.0 ', '', file[i])
file[i] = re.sub('^0 ', '', file[i])
file[i] = re.sub('^:: ', '', file[i])