make ## ./bitmessagemain.py --curses ## work in Konsole and xterm

subprocess.check_call('which dialog') # no longer works

the "which" is superfluous
This commit is contained in:
KM-200 2018-07-17 11:46:32 +02:00 committed by GitHub
parent 8537fbb2cc
commit d7ad3cb132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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