Update pyDatatoMergin.py

This commit is contained in:
Alex38Lyon committed 2026-10-17 15:29:17 +02:00
1 parent 1cbfac32f8
commit 3595ca6765
1 file changed
+5 -4
+5 -4
View File
@@ -232,10 +232,11 @@ def telecharger_depuis_github(depot: str, branche: str, chemin: str, dossier_cib
if barre: if barre:
barre(len(morceau)) barre(len(morceau))
else:
logger.debug( # else:
"GitHub : %s — %.1f %% (%s / %s octets)", fichier["path"], precedent * 100 / total if total else 0, precedent, total or "?" # logger.debug(
) # "GitHub : %s — %.1f %% (%s / %s octets)", fichier["path"], precedent * 100 / total if total else 0, precedent, total or "?"
# )
if interactif: if interactif:
with alive_bar(total, title=f"{Colors.YELLOW}Téléchargement GitHub{Colors.ENDC}", stats=True, scale="SI", unit="o") as barre: with alive_bar(total, title=f"{Colors.YELLOW}Téléchargement GitHub{Colors.ENDC}", stats=True, scale="SI", unit="o") as barre: