jenkins-bot has submitted this change and it was merged.
Change subject: Replace site.lang with site.code in http.py ......................................................................
Replace site.lang with site.code in http.py
Change-Id: Iefc4c68ab3088e34079c21712ceed2fee9bfc465 --- M pywikibot/comms/http.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/comms/http.py b/pywikibot/comms/http.py index 73b3c70..d5bbd20 100644 --- a/pywikibot/comms/http.py +++ b/pywikibot/comms/http.py @@ -151,7 +151,7 @@ script=pywikibot.calledModuleName(), version=pywikibot.version.getversiondict()['rev'], username=quote(username), - lang=site.lang, + lang=site.code, family=site.family.name) request = threadedhttp.HttpRequest(baseuri, *args, **kwargs) http_queue.put(request)
pywikibot-commits@lists.wikimedia.org