Skip to content

Commit

Permalink
Fix : Fix an issue where is_split_env method is not runable on window…
Browse files Browse the repository at this point in the history
…s platform (#380)
  • Loading branch information
kidylee authored Oct 10, 2022
1 parent 6119d11 commit 8de747e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autohooks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def is_split_env():
check=True,
)
is_split = True
except subprocess.CalledProcessError:
except (subprocess.CalledProcessError, FileNotFoundError):
is_split = False

return is_split

0 comments on commit 8de747e

Please sign in to comment.