Skip to content

Commit

Permalink
Merge branch 'master' of github.com:78/ssbc
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoxia committed Jun 25, 2015
2 parents 033914c + b1e6020 commit 000830e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions search/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def json_info(request):
item = Hash.objects.filter(info_hash=h).values()
else:
item = Hash.objects.filter(id=h).values()
if item.count() == 0:
continue
res[h] = item[0]
try:
filelist = FileList.objects.get(info_hash=res[h]['info_hash'])
Expand Down

0 comments on commit 000830e

Please sign in to comment.