Compare commits

..
3 Commits
2 changed files with 6 additions and 5 deletions

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
steps: steps:
- name: Envoyer le webhook à n8n - name: Envoyer le webhook à n8n
env: env:
WEBHOOK_URL: https://flows.arsip.fr/webhook-test/mergin-sync-event WEBHOOK_URL: https://flows.arsip.fr/webhook/mergin-sync-event
REPOSITORY: ${{ github.repository }} REPOSITORY: ${{ github.repository }}
BRANCH: ${{ github.ref_name }} BRANCH: ${{ github.ref_name }}
COMMIT: ${{ github.sha }} COMMIT: ${{ github.sha }}
+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: