jenkins-bot submitted this change.

View Change

Approvals: Zoranzoki21: Looks good to me, but someone else must approve JJMC89: Looks good to me, approved jenkins-bot: Verified
[bugfix] fix APISite.upload() _offset parameter

Bug: T284373
Change-Id: Iee53a48445f1e857410e21e6b9fe3ff8da092c73
---
M pywikibot/site/_apisite.py
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pywikibot/site/_apisite.py b/pywikibot/site/_apisite.py
index dbe6654..85b41cf 100644
--- a/pywikibot/site/_apisite.py
+++ b/pywikibot/site/_apisite.py
@@ -2951,7 +2951,7 @@
source_url=source_url, comment=comment,
text=text, watch=watch, ignore_warnings=True,
chunk_size=chunk_size, asynchronous=asynchronous,
- _file_key=_file_key, offset=result['offset'],
+ _file_key=_file_key, _offset=result['offset'],
report_success=False)
return False


To view, visit change 698322. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iee53a48445f1e857410e21e6b9fe3ff8da092c73
Gerrit-Change-Number: 698322
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: JJMC89 <JJMC89.Wikimedia@gmail.com>
Gerrit-Reviewer: Zhuyifei1999 <zhuyifei1999@gmail.com>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444@gmail.com>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged