From 1dfe75479378e8f1857c794208ded0d1ad6c8ee5 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 10 Aug 2023 19:51:42 +0200 Subject: [PATCH] Fix CLI flask delete-dept -f --- scodoc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scodoc.py b/scodoc.py index f541cce6..44e65aa6 100755 --- a/scodoc.py +++ b/scodoc.py @@ -412,6 +412,7 @@ def delete_dept(dept, force=False): # delete-dept from app.scodoc import notesdb as ndb from app.scodoc import sco_dept + msg = "" db.reflect() ndb.open_db_connection() d = models.Departement.query.filter_by(acronym=dept).first()