forked from 0x2620/pandora
filter
This commit is contained in:
parent
c659ff961b
commit
cfd7d6a4d9
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ def update(request):
|
|||
if 'info' in data:
|
||||
for oshash in data['info']:
|
||||
info = data['info'][oshash]
|
||||
f = models.File.objects.get(oshash=oshash)
|
||||
f = models.File.objects.filter(oshash=oshash)
|
||||
if f.count()>0:
|
||||
f = f[0]
|
||||
if not f.info:
|
||||
|
|
Loading…
Reference in a new issue