don't mix tabs/whitespace

This commit is contained in:
Bryan Bishop
2013-06-25 22:25:50 -05:00
parent ad6e271dec
commit b710b8721e
2 changed files with 6 additions and 7 deletions

View File

@ -9,9 +9,8 @@ import sys
import preprocessor
if __name__ == '__main__':
for source in sys.argv[1:]:
dest = os.path.splitext(source)[0] + '.tx'
sys.stdin = open(source, 'r')
sys.stdout = open(dest, 'w')
preprocessor.preprocess()
for source in sys.argv[1:]:
dest = os.path.splitext(source)[0] + '.tx'
sys.stdin = open(source, 'r')
sys.stdout = open(dest, 'w')
preprocessor.preprocess()