Skip to content

Commit

Permalink
Ignore VIRBL header line to fix #62
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Maxwell committed Sep 15, 2014
1 parent d3f3ccf commit efe2eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thresher.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def indicator_type(indicator):
def process_simple_list(response, source, direction):
data = []
for line in response.splitlines():
if not line.startswith('#') and not line.startswith('/') and len(line) > 0:
if not line.startswith('#') and not line.startswith('/') and not line.startswith('Export date') and len(line) > 0:
i = line.split()[0]
data.append((i, indicator_type(i), direction, source, '', '%s' % datetime.date.today()))
return data
Expand Down

0 comments on commit efe2eb7

Please sign in to comment.