mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-19 22:24:19 +01:00
sauron: fix flake8 nits
This commit is contained in:
committed by
Christian Decker
parent
82b1b57690
commit
35a2016c95
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user