changeset 9:0ed75ed20c7e draft

Fix skip lines
author jjohnson
date Thu, 02 Mar 2017 08:26:54 -0500
parents ae27dab228b8
children e84d1c3bf4fe
files query_tabular.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/query_tabular.py	Tue Feb 21 12:59:26 2017 -0500
+++ b/query_tabular.py	Thu Mar 02 08:26:54 2017 -0500
@@ -103,7 +103,7 @@
         self.filters = filters
         self.tsv_file = open(file_path)
         if skip and skip > 0:
-            for i in range(5): 
+            for i in range(skip): 
                 if not self.tsv_file.readline():
                     break
         source = LineFilter(self.tsv_file,None)