aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2021-01-31 16:03:01 +0100
committerneodarz <neodarz@neodarz.net>2021-01-31 16:03:01 +0100
commit8a8c8276429968eaf52d9c30d75f83f68844d9cf (patch)
tree29eaa9964cc0510666c8f20343756ad533488243
parent84551004407a8c2c3c4a74f30c55b9fc799dc5ae (diff)
downloadpyfunkwhale-8a8c8276429968eaf52d9c30d75f83f68844d9cf.tar.xz
pyfunkwhale-8a8c8276429968eaf52d9c30d75f83f68844d9cf.zip
Fix some typos in example
Diffstat (limited to '')
-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()