aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
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()