Skip to content

Commit

Permalink
Add missing feedback parameter (opengisch#19)
Browse files Browse the repository at this point in the history
WARNING    Traceback (most recent call last):
              File "/home/mkuhn/.local/share/QGIS/QGIS3/profiles/default/python/plugins/swiss_locator/swiss_locator_filter.py", line 404, in reply_finished
              self.handle_response(response, search, feedback)
             TypeError: handle_response() missing 1 required positional argument: 'feedback'
  • Loading branch information
m-kuhn authored Apr 26, 2021
1 parent 8e565b1 commit 41b11f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swiss_locator/swiss_locator_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def fetchResults(self, search: str, context: QgsLocatorContext, feedback: QgsFee
self.event_loop = QEventLoop()

def reply_finished(response):
self.handle_response(response, search)
self.handle_response(response, search, feedback)
if response.url in self.access_managers:
self.access_managers[response.url] = None
for nam in self.access_managers.values():
Expand Down

0 comments on commit 41b11f6

Please sign in to comment.