Skip to content

Commit d69d481

Browse files
authored
Discard changes to Xlib/ext/nvcontrol.py
1 parent 9cb486a commit d69d481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Xlib/ext/nvcontrol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def get_cooler_manual_control_enabled(self, target):
302302

303303

304304
def set_cooler_manual_control_enabled(self, target, enabled):
305-
return set_int_attribute(self, target, 0, NV_CTRL_GPU_COOLER_MANUAL_CONTROL, 1 if enabled else 0)
305+
return set_int_attribute(self, target, 0, NV_CTRL_GPU_COOLER_MANUAL_CONTROL, 1 if enabled else 0) == 1
306306

307307

308308
def get_fan_duty(self, target):

0 commit comments

Comments
 (0)