https://bugzilla.wikimedia.org/show_bug.cgi?id=73489
--- Comment #1 from xqt <info(a)gno.de> ---
Seems the decorator does not handle arguments for redirect as expected:
>> import pwb
>> import pywikibot as py
>> s = py.Site()
>> x = s.redirect()
>> x
u'WEITERLEITUNG'
>> x = s.redirect(True)
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
x = s.redirect(True)
File "pywikibot\tools.py", line 647, in wrapper
return obj(*__args, **__kw)
TypeError: redirect() takes exactly 1 argument (2 given)
--
You are receiving this mail because:
You are the assignee for the bug.