Skip to content

Commit

Permalink
Merge pull request #12 from GAD-DIMNT-CPTEC/8-bug-na-eliminação-de-li…
Browse files Browse the repository at this point in the history
…nhas-vazias

Resolvendo a issue #8 (eliminação de linhas vazias)
  • Loading branch information
cfbastarz authored Sep 13, 2022
2 parents c3292c6 + 51a99ca commit 4264cca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gsidiag/datasources.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def __init__(self):
reader = csv.reader(csv_data,skipinitialspace=True,delimiter=';')
# eliminate blank rows if they exist
rows = [row for row in reader if row]
rows.remove([''])
headings = rows[0] # get headings
self.tab = {}
for row in rows[1:]:
Expand Down

0 comments on commit 4264cca

Please sign in to comment.