charactes are not people, fix changing password
This commit is contained in:
parent
96a0744309
commit
ea52870db6
8 changed files with 18 additions and 14 deletions
|
|
@ -281,7 +281,7 @@ class File(models.Model):
|
|||
'videoCodec': self.video_codec,
|
||||
'wanted': self.wanted,
|
||||
}
|
||||
data['users'] = [i['user'] for i in data['instances']]
|
||||
data['users'] = list(set([i['user'] for i in data['instances']]))
|
||||
if keys:
|
||||
for k in data.keys():
|
||||
if k not in keys:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue