mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
opt: toleranter on gpu parsing
This commit is contained in:
@@ -71,11 +71,7 @@ class NvidiaSmi {
|
||||
.firstOrNull
|
||||
?.innerText;
|
||||
final fanSpeed = gpu.findElements('fan_speed').firstOrNull?.innerText;
|
||||
if (name != null &&
|
||||
temp != null &&
|
||||
powerDraw != null &&
|
||||
powerLimit != null &&
|
||||
memory != null) {
|
||||
if (name != null && temp != null) {
|
||||
return NvidiaSmiItem(
|
||||
name: name,
|
||||
uuid: gpu.findElements('uuid').firstOrNull?.innerText ?? '',
|
||||
|
||||
Reference in New Issue
Block a user