Skip to content

Commit

Permalink
quick correction
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSAMPERE committed Aug 22, 2019
1 parent 4c87ace commit 2e5c7e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/quick_search.py
Expand Up @@ -47,7 +47,7 @@ def __init__(self, isogeo_plg):
self.lang = isogeo_plg.lang

# Getting wath the class need from ApiRequester to build search URL
self.requester = object
self.request_url_builder = object

# Setting ui elements from plugin dockwidget
self.btn_save = self.dockwidget.btn_quicksearch_save
Expand Down Expand Up @@ -90,7 +90,7 @@ def write_params(self, search_name, search_kind="Default"):
# Info for _lang parameter
params['lang'] = self.lang
# building request url
params['url'] = self.requester.build_request_url(params)
params['url'] = self.request_url_builder(params)

for i in range(len(params.get('keys'))):
params['keyword_{0}'.format(i)] = params.get('keys')[i]
Expand Down

0 comments on commit 2e5c7e8

Please sign in to comment.