Skip to content

Commit

Permalink
Merge pull request #12 from alquimistas-org/fixing-PR#8
Browse files Browse the repository at this point in the history
Fix: datetime.date and annotation from PR #8
  • Loading branch information
matiasbertani authored Apr 15, 2023
2 parents 66989d5 + d70fcce commit da955d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/subida.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import shutil
import pandas as pd
import numpy as np
from datetime import datetime
from datetime import datetime, date
import traceback

from driver_email import enviar_mail_con_adjuntos
Expand Down Expand Up @@ -74,7 +74,7 @@ def Preparacion_Cuentas():

provincias = PROVINCES

date_now = datetime.date.today()
date_now = date.today()
years_to_add = date_now.year + 3

date_1 = date_now.strftime('%d/%m/%Y')
Expand Down Expand Up @@ -155,7 +155,7 @@ def Preparacion_Cuentas_Comafi():
print('\n')
print('\nComenzando escritura de archivos..\n\n')

date_now = datetime.date.today()
date_now = date.today()
years_to_add = date_now.year + 3

date_1 = date_now.strftime('%d/%m/%Y')
Expand Down
2 changes: 1 addition & 1 deletion src/write_data_osiris.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from constants.constants import DATA_UPLOADER_HEADER


def Escribir_Datos_Osiris(df: pd.DataFrame, filename: str, cols_df: list[str], cols_osiris: list[str]):
def Escribir_Datos_Osiris(df: pd.DataFrame, filename: str, cols_df: 'list[str]', cols_osiris: 'list[str]'):

Control_Carpeta_Subida()

Expand Down

0 comments on commit da955d2

Please sign in to comment.