1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00

python: fix linting errors

This commit is contained in:
Steffen Vogel 2020-11-11 09:10:33 +01:00
parent 1fe51399f1
commit 945a8bbcaa

View file

@ -106,7 +106,8 @@ class Node(object):
args['timeout'] = 1
r = requests.request(method,
f'{self.api_url}/api/{self.api_version}/{action}', **args)
f'{self.api_url}/api/{self.api_version}/{action}',
**args)
r.raise_for_status()
return r.json()