From 6473147a5375b87e2cf94bbf90d0a9d5ea00c508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20B=C3=A9nard?= Date: Sat, 6 May 2017 18:12:56 +0100 Subject: [PATCH] [#153] Fix SMW ask() call Misplaced parenthesis --- mwclient/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mwclient/client.py b/mwclient/client.py index 9831aae3..1e7cfe12 100644 --- a/mwclient/client.py +++ b/mwclient/client.py @@ -973,7 +973,7 @@ def ask(self, query, title=None): offset = 0 while offset is not None: results = self.raw_api('ask', query='{query}|offset={offset}'.format( - query=query, offset=offset, http_method='GET'), **kwargs) + query=query, offset=offset), http_method='GET', **kwargs) offset = results.get('query-continue-offset') for result in results['query']['results']: