changeset 83 | 515fadd3d286 |
parent 39 | 0cef3540b69f |
child 93 | b72591087495 |
--- a/batchquery.py Wed Apr 10 11:22:15 2013 +0200 +++ b/batchquery.py Sat Apr 13 15:22:05 2013 +0200 @@ -1,7 +1,6 @@ #!/usr/bin/env python3.2 from pgtoolkit import toolbase -from pgtoolkit.highlight import highlight class BatchQueryTool(toolbase.SimpleTool): @@ -53,7 +52,7 @@ d = dict() exec(f.read(), d) format_row = d['format_row'] - + with open(self.args.output, 'w', encoding='utf8') as f: for args, rows in results: if format_row: