jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/698322 )

Change subject: [bugfix] fix APISite.upload() _offset parameter
......................................................................

[bugfix] fix APISite.upload() _offset parameter

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

Approvals:
  Zoranzoki21: Looks good to me, but someone else must approve
  JJMC89: Looks good to me, approved
  jenkins-bot: Verified



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 https://gerrit.wikimedia.org/r/c/pywikibot/core/+/698322
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iee53a48445f1e857410e21e6b9fe3ff8da092c73
Gerrit-Change-Number: 698322
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: JJMC89 <[email protected]>
Gerrit-Reviewer: Zhuyifei1999 <[email protected]>
Gerrit-Reviewer: Zoranzoki21 <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to