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 type annotations #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CoolCat467
Copy link

This pull request adds type annotations to the project and fixes a bug.

Bug is that currently, when reattempting to send, crashes from AttributeError because "Printer" objects are not indexable.

self.logQueue.put("Reattempting to send " + str(filename) + " to printer " + printer["name"] + "..." )

I predict in an earlier version, printer details were stored purely in a dictionary, and this branch was missed when updating, and would have been caught with type checking.

@CoolCat467
Copy link
Author

@sphawes It's been a couple of months now, what is the status of this? Should I close this?

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