jenkins-bot submitted this change.
[bugfix] fix suggest_help usage
Change-Id: I7d2f4ef3204de8c42197471cee6f13daa13e63d6
Signed-off-by: Xqt <info@gno.de>
---
M scripts/basic.py
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/basic.py b/scripts/basic.py
index 27fb367..30d5433 100755
--- a/scripts/basic.py
+++ b/scripts/basic.py
@@ -164,7 +164,7 @@
gen = gen_factory.getCombinedGenerator(preload=True)
# check if further help is needed
- if not pywikibot.bot.suggest_help(missing_generator=gen):
+ if not pywikibot.bot.suggest_help(missing_generator=not gen):
# pass generator and private options to the bot
bot = BasicBot(generator=gen, **options)
bot.run() # guess what it does
To view, visit change 791498. To unsubscribe, or for help writing mail filters, visit settings.