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',