update aioauth-client to newest version

This commit is contained in:
Evgenii Alekseev 2021-09-17 18:45:43 +03:00
parent 6d1f641e50
commit ba483173af

View File

@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
import aioauth_client # type: ignore import aioauth_client
from typing import Optional, Type from typing import Optional, Type
@ -106,7 +106,7 @@ class OAuth(Mapping):
print(f"HEEELOOOO {client}") print(f"HEEELOOOO {client}")
user, _ = await client.user_info() user, _ = await client.user_info()
username: str = user.email username: str = user.email # type: ignore
return username return username
except Exception: except Exception:
self.logger.exception("got exception while performing request") self.logger.exception("got exception while performing request")