fix black

This commit is contained in:
Morten Enemark Lund 2020-09-17 22:30:08 +02:00
parent fd6d292f07
commit f3ee61b6f4

View file

@ -184,10 +184,7 @@ def is_app_execution_alias(fname):
Here try to detect if a file is an app execution alias
"""
fname = pathlib.Path(fname)
return (
not os.path.exists(fname)
and fname.name in os.listdir(fname.parent)
)
return not os.path.exists(fname) and fname.name in os.listdir(fname.parent)
def _is_binary(fname, limit=80):