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

Need better way to set version on a Puzzle() #42

Open
alexdej opened this issue Sep 23, 2024 · 0 comments
Open

Need better way to set version on a Puzzle() #42

alexdej opened this issue Sep 23, 2024 · 0 comments

Comments

@alexdej
Copy link
Owner

alexdej commented Sep 23, 2024

when initializing a Puzzle object (not loading from a file) if you want to use a version other than 1.3 you have to manually set two properties

puz = Puzzle()
puz.version = '2.0'
puz.fileversion = '2.0\0'

Should provide a better way either by generating fileversion from version and/or with a version keyword arg to the Puzzle initializer.

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

No branches or pull requests

1 participant