Skip to content

Commit c90e71b

Browse files
committed
Fix ruff found warning
1 parent 4378126 commit c90e71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sleep_inhibitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def run(self):
119119

120120
res = subprocess.run(self.icmd)
121121

122-
if not (self.is_inhibiting is False):
122+
if self.is_inhibiting is not False:
123123
self.is_inhibiting = False
124124
self.log(f'{self.name} is not inhibiting '
125125
f'suspend (return={res.returncode})')

0 commit comments

Comments
 (0)