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

Submodules #2

Merged
merged 4 commits into from
Dec 5, 2021
Merged

Submodules #2

merged 4 commits into from
Dec 5, 2021

Conversation

DieKatzchen
Copy link
Owner

Merge branch submodules

Replace all print statements and cast floats to ints for PIL. PDF generation still broken, IM convert doesn't like something about the format. That's next on my list but it runs now so I'll take what I can get. Also added all card repositories as submodules
Fixing this was easier than I though. Once I figured out that it was doubling up the path, was easily able to fix it. Could refactor all uses of card_set to more accurately deal with subfolders but... the PDF creation was the only spot where it matters, so I just kludged in an os.path.basename() and was done with it.
Changing to Int for PIL caused the bleed for card art to be wrong. Fixed it by adding 2 pixels to the width and shifting it left and up 1 pixel
@DieKatzchen DieKatzchen merged commit 7cc959e into master Dec 5, 2021
@DieKatzchen DieKatzchen deleted the submodules branch December 5, 2021 16:03
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.

1 participant