Nirvanchik added a comment.

  I found a hotfix that helped me to log in:
  
    class TokenWallet(Container):
    
        def __getitem__(self, key: str) -> str:
            """Get token value for the given key."""
            if self.site.user() is None and key != 'login':
                self.site.login()
    
            if self.site.user() != self._currentuser:
                self._currentuser = self.site.user()
                self.clear()
    
            if not self._tokens:
                if key == 'login':
                    _tokens = self.site.get_tokens(['login'])
                    return _tokens['login']
                else:
                    self._tokens = self.site.get_tokens([])

TASK DETAIL
  https://phabricator.wikimedia.org/T284577

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt, Nirvanchik
Cc: Nirvanchik, Xqt, Mpaa, Dvorapa, pywikibot-bugs-list, RhinosF1, Urbanecm, 
Aklapper, ChrisBlomTS, Themindcoder, Adamm71, Jersione, Hellket777, 
LisafBia6531, 786, Biggs657, PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, 
SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, 
Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, 
Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Framawiki, Lewizho99, Mdupont, 
JJMC89, Maathavan, Altostratus, Neuronton, Avicennasis, mys_721tx, jayvdb, 
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to