allow -o with -E
This commit is contained in:
parent
1609cf5911
commit
68f6b3fc08
2
jtlc
2
jtlc
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user