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