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

playerctl: gi.require_version notification fix #2270

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

valdur55
Copy link
Contributor

playerctl throwing error to console.
PyGIWarning: Playerctl was imported without specifying a version first. Use gi.require_version('Playerctl', '2.0') before import to ensure that the right version gets loaded. from gi.repository import GLib, Playerctl

Code is there but in wrong order because linter suggested other version.
This PR proposes fix for using lines in correct order by adding lint ignore statement.

Commit which made it broked: 3bc4946 and it was OK in original version.

@ultrabug ultrabug merged commit dae9f25 into ultrabug:master Dec 3, 2024
7 checks passed
@ultrabug
Copy link
Owner

ultrabug commented Dec 3, 2024

Thanks!

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.

3 participants