sauron: fix flake8 nits

This commit is contained in:
Michael Schmoock
2020-12-13 01:10:49 +01:00
committed by Christian Decker
parent 82b1b57690
commit 35a2016c95
2 changed files with 3 additions and 1 deletions

View File

@@ -104,7 +104,7 @@ def getrawblock(plugin, height, **kwargs):
blockhash_req = fetch(blockhash_url)
block_req = fetch("{}/block/{}/raw".format(plugin.api_endpoint,
blockhash_req.text))
blockhash_req.text))
if blockhash_req.status_code != 200 or block_req.status_code != 200:
return {
"blockhash": None,