mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
fix black
This commit is contained in:
parent
fd6d292f07
commit
f3ee61b6f4
1 changed files with 1 additions and 4 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue