Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix check_conservation_mode() function in ideapad_laptop.py #766

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Fix check_conservation_mode() function in ideapad_laptop.py #766

merged 1 commit into from
Aug 23, 2024

Conversation

Geffo029
Copy link
Contributor

Add .rstrip() to value = check_output(["cat", CONSERVATION_MODE_FILE], text=True) to prevent new line character \n breaking if statement

@AdnanHodzic AdnanHodzic merged commit 7925c21 into AdnanHodzic:master Aug 23, 2024
2 checks passed
@AdnanHodzic
Copy link
Owner

LGTM! Thank you for your contribution, you will be credited for your work as part of future release.

Closes #750

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants