mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 19:20:45 +02:00
Update data_service.py
This commit is contained in:
parent
cc349dd0cb
commit
bfacc24734
@ -715,8 +715,8 @@ class MiningDashboardService:
|
||||
worker["type"] = 'ASIC'
|
||||
worker["model"] = 'MicroBT Whatsminer'
|
||||
elif 'bitaxe' in lower_name or 'nerdqaxe' in lower_name:
|
||||
worker["type"] = 'FPGA'
|
||||
worker["model"] = 'BitAxe FPGA Miner'
|
||||
worker["type"] = 'Bitaxe'
|
||||
worker["model"] = 'BitAxe Gamma 601'
|
||||
|
||||
workers.append(worker)
|
||||
|
||||
@ -981,8 +981,8 @@ class MiningDashboardService:
|
||||
worker["type"] = 'ASIC'
|
||||
worker["model"] = 'MicroBT Whatsminer'
|
||||
elif 'bitaxe' in lower_name or 'nerdqaxe' in lower_name:
|
||||
worker["type"] = 'FPGA'
|
||||
worker["model"] = 'BitAxe FPGA Miner'
|
||||
worker["type"] = 'Bitaxe'
|
||||
worker["model"] = 'Bitaxe Gamma 601'
|
||||
|
||||
# Only add workers with valid data
|
||||
if worker["name"] and worker["name"].lower() not in invalid_names:
|
||||
|
Loading…
Reference in New Issue
Block a user