jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/572369 )
Change subject: [bugfix] Fix typo in a131de634c ......................................................................
[bugfix] Fix typo in a131de634c
Bug: T245318 Change-Id: Iae08296fdd7913006f5b93bb352e0550ffd15204 --- M pywikibot/data/api.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: JJMC89: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py index a75b09e..b22b560 100644 --- a/pywikibot/data/api.py +++ b/pywikibot/data/api.py @@ -1514,7 +1514,7 @@ self._params['wrap'] = ['']
if config.maxlag: - self._params.setdefault('maxlag', str(config.maxlag)) + self._params.setdefault('maxlag', [str(config.maxlag)]) self._params.setdefault('format', ['json']) if self._params['format'] != ['json']: raise TypeError("Query format '%s' cannot be parsed."
pywikibot-commits@lists.wikimedia.org