tjfontaine / airprint-generate

Automatically generate AirPrint Avahi service files for CUPS printers
http://www.atxconsulting.com/blog/tjfontaine/2010/11/21/automatically-generate-airprint-avahi-service-files-cups-printers
400 stars 119 forks source link

Errors with python3 #23

Closed AlexMorro closed 3 years ago

AlexMorro commented 3 years ago

I know it's not an issue for me but for others it can be, I changed the imports and now works with python3. https://pastebin.com/gMB8pPCg

If you are allowed to push files feel free to push my file.

rchenzheng commented 3 years ago

I know it's not an issue for me but for others it can be, I changed the imports and now works with python3. https://pastebin.com/gMB8pPCg

If you are allowed to push files feel free to push my file.

Why don’t you make a pull request ?

Also, I've tested and it doesn't work

rchenzheng commented 3 years ago

I've managed to refactor the code and get it working as well as adding docker support, thanks for the inspiration @AlexMorro

tjfontaine commented 3 years ago

fixed in 0384693e462ee6a0bf9237a839d73d4c6a720cd3