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
405 stars 119 forks source link

didn't build on fedora with python3 #26

Open chrisfahlman opened 3 years ago

chrisfahlman commented 3 years ago

I changed line 223 in airprint-generate.py from f = open(fname, 'w') to f= open(fname, 'wb')

otherwise, it would not build (I am using fedora 32)