Skip to content

Commit

Permalink
[#153] Fix SMW ask() call
Browse files Browse the repository at this point in the history
Misplaced parenthesis
  • Loading branch information
Michel Bénard authored and danmichaelo committed May 11, 2017
1 parent 5701b57 commit 6473147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mwclient/client.py
Expand Up @@ -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']:
Expand Down

0 comments on commit 6473147

Please sign in to comment.