mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Fix multiple python code issues (detected by flake8)
This commit is contained in:
parent
7fed3b9765
commit
be192b5226
3 changed files with 3 additions and 3 deletions
|
@ -110,7 +110,7 @@ except ValueError:
|
|||
|
||||
try:
|
||||
eth = int(etherscan_balance['result'])
|
||||
except (KeyError, ValueError) as exc:
|
||||
except (KeyError, ValueError):
|
||||
print("JSON result error!", file=sys.stderr)
|
||||
sys.exit(9)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue