allow -o with -E

This commit is contained in:
Josh Holtrop 2011-08-30 16:38:17 -04:00
parent 1609cf5911
commit 68f6b3fc08

2
jtlc
View File

@ -45,6 +45,8 @@ def main(argv):
f = open(tfname, 'r') f = open(tfname, 'r')
content = f.read() content = f.read()
f.close() f.close()
if args.output_file is not None:
ofname = args.output_file
f = open(ofname, 'w') f = open(ofname, 'w')
f.write(content) f.write(content)
f.close() f.close()