mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-20 06:34:20 +01:00
sauron: fix flake8 nits
This commit is contained in:
committed by
Christian Decker
parent
82b1b57690
commit
35a2016c95
@@ -24,3 +24,5 @@ sauron_eye = """
|
|||||||
:::lie.:::
|
:::lie.:::
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# flake8: noqa W605
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ def getrawblock(plugin, height, **kwargs):
|
|||||||
|
|
||||||
blockhash_req = fetch(blockhash_url)
|
blockhash_req = fetch(blockhash_url)
|
||||||
block_req = fetch("{}/block/{}/raw".format(plugin.api_endpoint,
|
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:
|
if blockhash_req.status_code != 200 or block_req.status_code != 200:
|
||||||
return {
|
return {
|
||||||
"blockhash": None,
|
"blockhash": None,
|
||||||
|
|||||||
Reference in New Issue
Block a user