Skip to content
Snippets Groups Projects
Commit 0f2b0dc8 authored by Emmanuel Viennet's avatar Emmanuel Viennet
Browse files

remove debug breakpoint

parent 5b1955a5
No related branches found
No related tags found
No related merge requests found
...@@ -287,7 +287,6 @@ class BasePreferences: ...@@ -287,7 +287,6 @@ class BasePreferences:
def __init__(self, dept_id: int): def __init__(self, dept_id: int):
dept = db.session.get(Departement, dept_id) dept = db.session.get(Departement, dept_id)
if not dept: if not dept:
breakpoint()
log(f"BasePreferences: Invalid departement: {dept_id}") log(f"BasePreferences: Invalid departement: {dept_id}")
raise ScoValueError(f"BasePreferences: Invalid departement: {dept_id}") raise ScoValueError(f"BasePreferences: Invalid departement: {dept_id}")
self.dept_id = dept.id self.dept_id = dept.id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment