diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 7fabe19..adce183 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -4,7 +4,7 @@ Pillow==9.1.0 psycopg2-binary==2.9.3 requests==2.27.1 weasyprint==54.3 -Django==4.0.3 +Django==4.0.4 django-auth-ldap==4.0.0 django-environ==0.8.1 django-extensions==3.1.5 diff --git a/sigi/apps/servicos/management/commands/importa_servico.py b/sigi/apps/servicos/management/commands/importa_servico.py index f0de687..316b16b 100644 --- a/sigi/apps/servicos/management/commands/importa_servico.py +++ b/sigi/apps/servicos/management/commands/importa_servico.py @@ -27,7 +27,7 @@ Importa dados de serviços de arquivos TXT gerados pela COTIN. if (not 'TEMPLATE' in reader.fieldnames or not 'NAME' in reader.fieldnames or not 'COD_ORGAO' in reader.fieldnames): - print reader.fieldnames + print (reader.fieldnames) raise CommandError("Formato inválido do arquivo.") self.stdout.write('Estrutura parece ok.') self.stdout.write("Preparando dados...")