diff --git a/src/python/CONSTANTS.py b/src/python/CONSTANTS.py index 84b628f615ef59d819e8907d37fefe42d7ecee0b..619edc63d3450009655cd3e37b5ac774fd46f5b3 100644 --- a/src/python/CONSTANTS.py +++ b/src/python/CONSTANTS.py @@ -16,7 +16,7 @@ AB_main_folder_database = os.path.join(data_folder, "AB") ########################### log_file_for_duplicated_textlines = os.path.join(data_folder, "logs", "removed_duplicated_textlines.csv") class XML_Versions: - four_corrected_xml = datetime(year=2019, month=11, day=19) + four_corrected_xml = datetime(year=2019, month=11, day=20) ############ ## Trained classification related constants diff --git a/src/python/utils_proc.py b/src/python/utils_proc.py index 450052db2ef3c0b5ee6de422a46572f1ada54e6b..38d84da38fc00dfef11e5514e047d0c7bee9e254 100644 --- a/src/python/utils_proc.py +++ b/src/python/utils_proc.py @@ -268,7 +268,7 @@ def addto_tar(input_file, folder_database, name_file): year = input_file.split('/')[1] name_tar = folder_database + '/' + str(year) +'/' + name_file + '.tar.gz' if os.path.isfile(name_tar): - list_files_intar = get_contained_file_names(year, folder_database, name_file)[0] + list_files_intar = get_contained_file_names(year, folder_database, name_file) # Just to check if the file exists already inside the tar. In that case, we # first extract everything, except for it, and tar everything again if input_file in list_files_intar: