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 error in clean_svg.py and allow it to run on .tablet files #782

Merged
merged 3 commits into from
Oct 15, 2024

Conversation

whot
Copy link
Member

@whot whot commented Oct 11, 2024

Fixes the crasher reported by @Deevad in #777 (comment)

If nargs=1 the result is a tuple but that's not really necessary here.
Fixes: 2752276 ("tools/clean_svg.py: fix to work with Python3")
@Deevad
Copy link

Deevad commented Oct 11, 2024

Thank you for the quick fix! 👍

If the svg file passed in is a .tablet file, extract the layout and
tablet name from there. This allows us to run the tool on the existing
tablet files to check for any differences.

Add this into the CI so we ensure that script doesn't crash on our SVG
files.
@whot whot merged commit 1e85c03 into linuxwacom:master Oct 15, 2024
15 checks passed
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