[fix] using https links

This commit is contained in:
asciimoo 2013-10-27 14:23:53 +01:00
parent e2c1c10657
commit 22c94ec149

View File

@ -153,8 +153,7 @@ def search(query, request, selected_categories):
if duplicated['parsed_url'].scheme == 'https':
continue
elif res['parsed_url'].scheme == 'https':
duplicated['parsed_url'].scheme == 'https'
duplicated['url'] = duplicated['parsed_url'].geturl()
duplicated['url'] = res['parsed_url'].geturl()
else:
res['score'] = score
results.append(res)