Fix subprocess.check_call
This commit is contained in:
parent
b0446ab4ab
commit
50ee7fa740
|
@ -363,7 +363,7 @@ def check_curses():
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
try:
|
try:
|
||||||
subprocess.check_call('which dialog')
|
subprocess.check_call(['which', 'dialog'])
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
logger.error(
|
logger.error(
|
||||||
'Curses requires the `dialog` command to be installed as well as'
|
'Curses requires the `dialog` command to be installed as well as'
|
||||||
|
|
Reference in New Issue
Block a user