mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 15:29:22 +02:00
Linting
This commit is contained in:
parent
d39edae061
commit
c55a926d33
1 changed files with 5 additions and 1 deletions
|
@ -190,7 +190,11 @@ def update_domain_nodeinfo(domain):
|
|||
now = timezone.now()
|
||||
try:
|
||||
nodeinfo = {"status": "ok", "payload": fetch_nodeinfo(domain.name)}
|
||||
except (requests.RequestException, serializers.serializers.ValidationError, ValueError) as e:
|
||||
except (
|
||||
requests.RequestException,
|
||||
serializers.serializers.ValidationError,
|
||||
ValueError,
|
||||
) as e:
|
||||
nodeinfo = {"status": "error", "error": str(e)}
|
||||
|
||||
service_actor_id = common_utils.recursive_getattr(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue