From d7ad3cb1327d945aee1f5c6bd81426fefd8b0346 Mon Sep 17 00:00:00 2001 From: KM-200 <39034780+KM-200@users.noreply.github.com> Date: Tue, 17 Jul 2018 11:46:32 +0200 Subject: [PATCH] make ## ./bitmessagemain.py --curses ## work in Konsole and xterm subprocess.check_call('which dialog') # no longer works the "which" is superfluous --- src/depends.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/depends.py b/src/depends.py index 06150642..7a4d05a1 100755 --- a/src/depends.py +++ b/src/depends.py @@ -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'