"which" is superfluous and it breaks "bitmessagemain --curses"

the word "which" must be removed
This commit is contained in:
KM-200 2018-07-17 11:57:43 +02:00 committed by GitHub
parent 8537fbb2cc
commit e2c96d12cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -363,7 +363,7 @@ def check_curses():
import subprocess import subprocess
try: try:
subprocess.check_call('which dialog') subprocess.check_call('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'