Fix subprocess.check_call

This commit is contained in:
Alexx Saver 2018-08-20 06:50:46 +04:00 committed by GitHub
parent b0446ab4ab
commit 50ee7fa740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -363,7 +363,7 @@ def check_curses():
import subprocess
try:
subprocess.check_call('which dialog')
subprocess.check_call(['which', 'dialog'])
except subprocess.CalledProcessError:
logger.error(
'Curses requires the `dialog` command to be installed as well as'