From eeccc1317f96322d5afde74e63664f2191206abe Mon Sep 17 00:00:00 2001 From: Benjamin Bohard Date: Mon, 18 Aug 2025 10:41:35 +0200 Subject: [PATCH] Mauvaise syntaxe pour le filtre --- patches.d/scribe-backend.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches.d/scribe-backend.patch b/patches.d/scribe-backend.patch index 873b4e6..4d5b93a 100644 --- a/patches.d/scribe-backend.patch +++ b/patches.d/scribe-backend.patch @@ -1,5 +1,5 @@ -diff --git usr/lib/python3/dist-packages/bin/importation_scribe usr/lib/python3/dist-packages/bin/importation_scribe -index 0db4982..76453df 100755 +diff --git usr/bin/importation_scribe usr/bin/importation_scribe +index 0db4982..bb6ff94 100755 --- usr/bin/importation_scribe +++ usr/bin/importation_scribe @@ -49,7 +49,7 @@ from os.path import isfile, dirname @@ -15,7 +15,7 @@ index 0db4982..76453df 100755 prefs = preferences.get_enseignants_prefs() etab = prefs.get_default('etab') etab_prefix = prefs.get_default('etab_prefix') -+ branche_etab = BRANCHE_ETAB % etab ++ branche_etab = BRANCHE_ETAB % {'etab': etab} + purge_option = 'keep' + old_logins = connexion._search(PROF_FILTER, 'uid', suffix=branche_etab) else: