From 68f6b3fc0844c72296cfe98cf3379e3c79b852e9 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 30 Aug 2011 16:38:17 -0400 Subject: [PATCH] allow -o with -E --- jtlc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jtlc b/jtlc index c6865e2..22d828c 100755 --- a/jtlc +++ b/jtlc @@ -45,6 +45,8 @@ def main(argv): f = open(tfname, 'r') content = f.read() f.close() + if args.output_file is not None: + ofname = args.output_file f = open(ofname, 'w') f.write(content) f.close()