From 01731220c2a4c6980b4c15d86f43286527d118a0 Mon Sep 17 00:00:00 2001 From: Jomaro Rodrigues <jomaro.rodrigues@gmail.com> Date: Mon, 26 Oct 2015 12:02:41 -0200 Subject: [PATCH] Resolvido o erro tosco --- adega_crypt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adega_crypt.py b/adega_crypt.py index a9f0dd7..9e688d0 100755 --- a/adega_crypt.py +++ b/adega_crypt.py @@ -78,7 +78,7 @@ def crypt(name): table_append = table_append[~table_append["MATR_ALUNO"].isin(table["MATR_ALUNO"])] - if table_append.shape[0] < 0: + if table_append.shape[0] > 0: # # Atualiza o table com os registros que ainda não existem @@ -126,7 +126,7 @@ def crypt(name): split_name.append("csv") # - # escreve o arquivo + # escreve o arquivo # data.to_csv(".".join(split_name), index=False) -- GitLab