forked from ScoDoc/ScoDoc
Fix typo in user_delete
This commit is contained in:
parent
6e2f3cb2c2
commit
31c64ef2e7
@ -229,7 +229,7 @@ def user_delete(username): # user-delete
|
||||
)
|
||||
return 1
|
||||
# - Resp. Module
|
||||
if ModuleImpl.query.filter_by(responsable_id=217).count() > 0:
|
||||
if ModuleImpl.query.filter_by(responsable_id=u.id).count() > 0:
|
||||
sys.stderr.write(
|
||||
"\nuser_delete: erreur: utilisateur déclaré comme enseignant\n"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user