export: fixed 'only' option printing one too many if printing header

This commit is contained in:
mercierc committed 2021-07-21 15:23:04 +12:00
1 parent 0b4283bb58
commit ce7ae4ac55
1 file changed
-2
-2
View File
@@ -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