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

Add constant to klippy.py #6793

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

shitwolfymakes
Copy link

This replaces all instances of '__init__.py' with the constant init_filename

@JamesH1978
Copy link
Collaborator

Klipper is python 2 and 3 compatible to support older installs, i believe init.py is required in the former.

Also please remember all PR's need signing off as mentioned in point 3 in https://github.com/Klipper3d/klipper/blob/master/docs/CONTRIBUTING.md#what-to-expect-in-a-review

Thanks
James

@shitwolfymakes
Copy link
Author

As for the first part, that should be irrelevant in this instance, as I'm replacing a hardcoded string in a string comparison with a constant storing the same exact value.

As for part two, I've never had to sign off commits before, i'll go figure out how to do that

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