refactor: upgrade code to >=python3.7 (pre-commit)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2189>
This commit is contained in:
parent
7768ea77a4
commit
8d9946d35a
143 changed files with 454 additions and 582 deletions
|
|
@ -22,7 +22,7 @@ def get_actor_data(actor_url):
|
|||
try:
|
||||
return response.json()
|
||||
except Exception:
|
||||
raise ValueError("Invalid actor payload: {}".format(response.text))
|
||||
raise ValueError(f"Invalid actor payload: {response.text}")
|
||||
|
||||
|
||||
def get_actor(fid, skip_cache=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue