mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2026-01-27 17:14:20 +01:00
(fix) handle the access to the dictionary
This commit is contained in:
@@ -28,7 +28,7 @@ class MinerUtils:
|
||||
"gateio": "gate",
|
||||
"ascendex": "bitmax"
|
||||
}
|
||||
return converter[exchange]
|
||||
return converter.get(exchange, None)
|
||||
|
||||
def get_miner_stats_df(self):
|
||||
miner_data = requests.get(self.MARKETS_ENDPOINT).json()
|
||||
|
||||
Reference in New Issue
Block a user