Skip to content

scrot -z causes a warning on some Linux distributions #61

@CaptainTyphoo

Description

@CaptainTyphoo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions