Skip to content

Commit

Permalink
Update RielUXTU.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gorouflex authored Jan 30, 2024
1 parent 6c61ffb commit 5ab3524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RielUXTU/RielUXTU.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def run_command(args):
command = ["sudo", "./ryzenadj"] + args.split()
while True:
result = subprocess.run(command, stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
if result.returncode != 1 or result.returncode != 255:
if result.returncode != 1 and result.returncode != 255:
print("Applied preset failed!")
print(result.returncode)
time.sleep(3)
Expand Down

0 comments on commit 5ab3524

Please sign in to comment.