Show More
@@ -146,5 +146,6 b' class UsersGroupModel(BaseModel):' | |||
|
146 | 146 | |
|
147 | 147 | obj = UsersGroupToPerm.query()\ |
|
148 | 148 | .filter(UsersGroupToPerm.users_group == users_group)\ |
|
149 |
.filter(UsersGroupToPerm.permission == perm). |
|
|
150 | self.sa.delete(obj) | |
|
149 | .filter(UsersGroupToPerm.permission == perm).scalar() | |
|
150 | if obj: | |
|
151 | self.sa.delete(obj) |
General Comments 0
You need to be logged in to leave comments.
Login now