Line 236: self.site._token[index] = data['login']['lgtoken'] + "+\\"
change to:

                try:
                  self.site._token[index] = data['login']['lgtoken'] + "+\\"
                except:
                  pass

On Wed, Jun 2, 2021 at 10:21 AM Bináris <[email protected]> wrote:

> Is there a manual to rewrite comat scripts to Pywikibot?
> _______________________________________________
> pywikibot mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
pywikibot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to