diff options
author | neodarz <neodarz@neodarz.net> | 2021-01-31 16:03:01 +0100 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2021-01-31 16:03:01 +0100 |
commit | 8a8c8276429968eaf52d9c30d75f83f68844d9cf (patch) | |
tree | 29eaa9964cc0510666c8f20343756ad533488243 | |
parent | 84551004407a8c2c3c4a74f30c55b9fc799dc5ae (diff) | |
download | pyfunkwhale-8a8c8276429968eaf52d9c30d75f83f68844d9cf.tar.xz pyfunkwhale-8a8c8276429968eaf52d9c30d75f83f68844d9cf.zip |
Fix some typos in example
Diffstat (limited to '')
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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() |