mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-20 09:39:01 +00:00
Merge ac7109052c0de957c69e8c9fed0d5fb5c010c82a into c7e7e1d884d3bb241ea6448f72a989434c2a35ec
This commit is contained in:
commit
3ac03bed9a
@ -3,8 +3,12 @@ import sys
|
|||||||
import tty
|
import tty
|
||||||
import termios
|
import termios
|
||||||
import colorama
|
import colorama
|
||||||
from distutils.spawn import find_executable
|
# from distutils.spawn import find_executable
|
||||||
from .. import const
|
from .. import const
|
||||||
|
import shutil
|
||||||
|
|
||||||
|
def find_executable(name):
|
||||||
|
return shutil.which(name)
|
||||||
|
|
||||||
init_output = colorama.init
|
init_output = colorama.init
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user