From 909710fa6c8504f213820a54c9fc00259a26219a Mon Sep 17 00:00:00 2001 From: "Adrien Bourmault (neox)" Date: Sat, 4 Nov 2023 13:18:30 +0100 Subject: [PATCH] WIP: adhesion, forgejo API --- controle_adhesion/main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/controle_adhesion/main.py b/controle_adhesion/main.py index 99f6758..e533a7e 100755 --- a/controle_adhesion/main.py +++ b/controle_adhesion/main.py @@ -73,10 +73,7 @@ def forgejo_post_issue(owner, repo, title, body, labels): "labels":labels, "title":title }) - if not(import_response.ok): - print("Erreur à l'envoi du ticket {} à {}".format(title, repo)) - raise(Exception) - return import_response.ok + return import_response def gestion_adduser(req): response = requests.put('https://gestion.a-lec.org/api/user/import',