From b8c4254af6e9a2c54c960b331fc9a7283409c5f0 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 adbc7679..c1603f70 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()