Skip to content

Remove comparism #2

@ichux

Description

@ichux

This can be left as:

if res.stderr:
        logger.error(f"injected command resulted in error:\n{res.stderr}")

Sample

>>> bool(b"") == False
True
>>> bool(b"1") == True
True

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