On Tue, May 11, 2010 at 3:13 PM, Russell Blau <russblau(a)imapmail.org> wrote:
"Morten Wang" <nettrom(a)gmail.com>
wrote on Wednesday, May 05, 2010 5:36 PM:
There's really never any need to access the LoginManager in bot code.
Simply instantiating a Site object logs you in automatically. Note that you
can use the -user:XXX command line option to change the default account, or
you can do it in code by instantiating pywikibot.Site(user="XXX").
I figured there would be some automagic way of doing it, thanks! I'll
work that pattern into my code.
And also, thanks for looking into the things I reported, appreciate it!
Cheers,
Morten