TypeError: argument of type 'NoneType' is not iterable
This commit is contained in:
parent
9db8b57dd2
commit
20007d3416
1 changed files with 1 additions and 2 deletions
|
@ -371,7 +371,6 @@ class File(models.Model):
|
||||||
for key in self.PATH_INFO:
|
for key in self.PATH_INFO:
|
||||||
data[key] = self.info.get(key)
|
data[key] = self.info.get(key)
|
||||||
data['users'] = list(set([i['user'] for i in data['instances']]))
|
data['users'] = list(set([i['user'] for i in data['instances']]))
|
||||||
if 'item' in keys:
|
|
||||||
data['item'] = self.item.itemId
|
data['item'] = self.item.itemId
|
||||||
if keys:
|
if keys:
|
||||||
for k in data.keys():
|
for k in data.keys():
|
||||||
|
|
Loading…
Reference in a new issue