bugfix: agrego try except al setlocale para capturar errores en pipeline

This commit is contained in:
jt
2025-11-02 15:32:12 -03:00
parent da5c2f2b8b
commit f45d313fd4
+5 -1
View File
@@ -12,10 +12,14 @@ from lib.io import *
REPOSITORY_TOKEN_PATH=".repository-token" REPOSITORY_TOKEN_PATH=".repository-token"
LOCALE = 'es_AR.UTF-8'
def main(): def main():
locale.setlocale(locale.LC_ALL, 'es_AR.UTF-8') try:
locale.setlocale(locale.LC_ALL, LOCALE)
except locale.Error as e:
print_warning(f"No se pudo configurar el locale '{LOCALE}': {e}")
args = sys.argv args = sys.argv