asweigart / pyscreeze

PyScreeze is a simple, cross-platform screenshot module for Python 2 and 3.
BSD 3-Clause "New" or "Revised" License
191 stars 96 forks source link

Update __init__.py to fix TypeError on macOS #99

Open bingroom opened 1 year ago

bingroom commented 1 year ago

Got TypeError: '<' not supported between instances of 'str' and 'int' while using pyscreeze.locateOnScreen. After checking __init__.py I found the __version__ of PIL wasn't cast to correct format.

bingroom commented 1 year ago

oops.. duplicated as https://github.com/asweigart/pyscreeze/pull/96

Avasam commented 2 months ago

@bingroom This now has conflicts