Fix color stripping script
This commit is contained in:
parent
7b6c127469
commit
98444f652f
@ -11,7 +11,7 @@ def strip_color (input, output):
|
||||
for line in input:
|
||||
while "\x1b" in line:
|
||||
line = _escape.sub ("", line)
|
||||
print output.write (line)
|
||||
output.write (line)
|
||||
|
||||
def main ():
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user