From 8a8c8276429968eaf52d9c30d75f83f68844d9cf Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 31 Jan 2021 16:03:01 +0100 Subject: Fix some typos in example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8175cd4..bfadf8a 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Example usage: # -*- condig: utf-8 -*- from pyfunkwhale.funkwhale import Funkwhale +from pyfunkwhale.client import InvalidTokenError client_name = "pyfunkwhale" @@ -66,7 +67,7 @@ funkwhale = Funkwhale(client_name, redirect_uri, client_id, client_secret, try: artists = funkwhale.artists() -except InvalidTokenError as e +except InvalidTokenError as e: _ask_new_auth(funkwhale, e.message) artists = funkwhale.artists() -- cgit v1.2.1