From 792e1c9cadb7bc953ef7edbe3fc4e5ecdb20186c Mon Sep 17 00:00:00 2001 From: ytemiloluwa Date: Mon, 2 Sep 2024 09:27:30 +0100 Subject: [PATCH] corrected parsing --- pyasic/miners/backends/marathon.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyasic/miners/backends/marathon.py b/pyasic/miners/backends/marathon.py index d043ece0..da0cb49b 100644 --- a/pyasic/miners/backends/marathon.py +++ b/pyasic/miners/backends/marathon.py @@ -318,8 +318,7 @@ class MaraMiner(MaraFirmware): pools_data = [] if web_pools is not None: try: - pools = web_pools.get("POOLS", []) - for pool_info in pools: + for pool_info in web_pools: url = pool_info.get("URL") pool_url = PoolUrl.from_str(url) if url else None pool_data = PoolMetrics(