Seppl2013 added a comment.
Tried it and it does not work as advertised. pywikbot.api does not seem to
exist and:
from pywikibot.login import LoginManager
lm = LoginManager(password=self.getPassword(), site=self.site,
user=self.user)
lm.login()
the result is an error:
write() argument must be str, not None
from the middle of nowhere.
The patch looks so much simpler and i understand it ...
TASK DETAIL
https://phabricator.wikimedia.org/T248471
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Seppl2013
Cc: Dvorapa, Xqt, Mpaa, Aklapper, Seppl2013, pywikibot-bugs-list, Zkhalido,
Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis,
mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs