jim-easterbrook / python-gphoto2

Python interface to libgphoto2
GNU Lesser General Public License v3.0
362 stars 59 forks source link

fixed PyQt5, linting #47

Closed fatzh closed 6 years ago

fatzh commented 6 years ago

I wanted to use this example script (focus_gui) but it looks like it's no longer working with the latest version of PyQt5 available on pip (5.9.2).

I'm not familiar with PyQt at all.. just went through the doc and fixed the few changes. Also did some linting and remove unused import.

It works fine for me now.

jim-easterbrook commented 6 years ago

Thanks. I'd changed it from Qt4 to Qt5 without properly testing it afterwards. (I no longer use the camera I wrote it for.)