asweigart/pyscreeze

scrot -z causes a warning on some Linux distributions

Opened this issue · 1 comments

scrot does not provide the '-z' option on all Linux distributions. This causes a warning on distributions where this option is missing (e.g. Fedora, CentOS, RHEL):

>>> import pyscreeze
>>> img=pyscreeze.screenshot()
scrot: invalid option -- 'z'

If you use the screenshot function repeatedly in your script, the console will get flooded with this warning message.

Is there any update on whether this issue will be closed? The linked pull request should close this issue and it is an easy fix. Would be nice to get this merged.