export: fixed 'only' option printing one too many if printing header
This commit is contained in:
1 parent
0b4283bb58
commit
ce7ae4ac55
1 file changed
-2
@@ -20,8 +20,6 @@ cdef class TabWriter:
|
||||
self.only = -1
|
||||
else:
|
||||
self.only = int(only)
|
||||
if header:
|
||||
self.only += 1
|
||||
|
||||
self.formatter = formatter
|
||||
self.output = output_object
|
||||
|
||||
Reference in new issue
Block a user