@@ -606,11 +606,11 @@ def index():
606 # HTML output format
606 # HTML output format
608 # suggestions: use RawTextQuery to get the suggestion URLs with the same bang
608 # suggestions: use RawTextQuery to get the suggestion URLs with the same bang
609− suggestion_urls = map(lambda suggestion: {
609+ suggestion_urls = list(map(lambda suggestion: {
610− 'url': raw_text_query.changeSearchQuery(suggestion).getFullQuery(),
610+ 'url': raw_text_query.changeSearchQuery(suggestion).getFullQuery(),
611− 'title': suggestion
611+ 'title': suggestion
613− result_container.suggestions)
613+ result_container.suggestions))
615 correction_urls = list(map(lambda correction: {
615 correction_urls = list(map(lambda correction: {
616 'url': raw_text_query.changeSearchQuery(correction).getFullQuery(),
616 'url': raw_text_query.changeSearchQuery(correction).getFullQuery(),