forked from 0x2620/pandora
typo
This commit is contained in:
parent
ae8363d4e2
commit
4dbb5e3c51
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ def edit_item(user, item, data, is_task=False):
|
||||||
user_groups = set([g.name for g in user.groups.all()])
|
user_groups = set([g.name for g in user.groups.all()])
|
||||||
other_groups = list(groups - user_groups)
|
other_groups = list(groups - user_groups)
|
||||||
data['groups'] = [g for g in data['groups'] if g in user_groups] + other_groups
|
data['groups'] = [g for g in data['groups'] if g in user_groups] + other_groups
|
||||||
r = item.edit(data, is_task=is_tras)
|
r = item.edit(data, is_task=is_task)
|
||||||
if r:
|
if r:
|
||||||
r.wait()
|
r.wait()
|
||||||
if update_clips:
|
if update_clips:
|
||||||
|
|
Loading…
Reference in a new issue