allow -o with -E
This commit is contained in:
1 parent
1609cf5911
commit
68f6b3fc08
1 file changed
+2
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user