se agrega la rotación de log y se actualiza la documentación del proyecto
This commit is contained in:
1 parent
cf2c1ee147
commit
372e6fe7f8
13 files changed
+459
-97
No files matched your search
+3
-3
@@ -40,7 +40,7 @@ def renombrar_archivos_por_metadata(metadatos, ruta_base):
|
||||
if os.path.exists(ruta_old):
|
||||
if os.path.exists(ruta_new) and ruta_old != ruta_new:
|
||||
os.remove(ruta_new)
|
||||
os.rename(ruta_old, ruta_new)
|
||||
shutil.move(ruta_old, ruta_new)
|
||||
m['archivo'] = nuevo_nombre
|
||||
except Exception as e:
|
||||
print(f" ⚠️ Error renombrando '{nombre_original}': {e}")
|
||||
@@ -69,7 +69,7 @@ def mover_validos_a_resultado(metadatos, ruta_origen, ruta_destino):
|
||||
if os.path.exists(ruta_old):
|
||||
if os.path.exists(ruta_new) and ruta_old != ruta_new:
|
||||
os.remove(ruta_new)
|
||||
os.rename(ruta_old, ruta_new)
|
||||
shutil.move(ruta_old, ruta_new)
|
||||
movidos += 1
|
||||
except Exception as e:
|
||||
print(f" ⚠️ Error trasladando '{archivo}' a resultado: {e}")
|
||||
@@ -99,7 +99,7 @@ def mover_a_evaluar(metadatos, ruta_origen, ruta_evaluar):
|
||||
if os.path.exists(ruta_old):
|
||||
if os.path.exists(ruta_new) and ruta_old != ruta_new:
|
||||
os.remove(ruta_new)
|
||||
os.rename(ruta_old, ruta_new)
|
||||
shutil.move(ruta_old, ruta_new)
|
||||
movidos += 1
|
||||
except Exception as e:
|
||||
print(f" ⚠️ Error moviendo '{archivo}' a evaluar: {e}")
|
||||
|
||||
Reference in new issue
Block a user