From 51a99ca88370a7f898d0fd96e216c1b405d80a1d Mon Sep 17 00:00:00 2001 From: Carlos Frederico Bastarz Date: Tue, 13 Sep 2022 14:01:31 -0300 Subject: [PATCH] =?UTF-8?q?Resolvendo=20a=20issue=20#8=20(elimina=C3=A7?= =?UTF-8?q?=C3=A3o=20de=20linhas=20vazias)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gsidiag/datasources.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gsidiag/datasources.py b/gsidiag/datasources.py index 5d7141e..8f4b8b1 100644 --- a/gsidiag/datasources.py +++ b/gsidiag/datasources.py @@ -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:]: