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:
parent
8537fbb2cc
commit
d7ad3cb132
|
@ -363,7 +363,8 @@ def check_curses():
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
try:
|
try:
|
||||||
subprocess.check_call('which dialog')
|
subprocess.check_call( "dialog")
|
||||||
|
#subprocess.check_call('which dialog') # no longer works
|
||||||
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