From 50ee7fa740952ef41546059ce260b2dc6fac2641 Mon Sep 17 00:00:00 2001 From: Alexx Saver Date: Mon, 20 Aug 2018 06:50:46 +0400 Subject: [PATCH] Fix subprocess.check_call --- src/depends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/depends.py b/src/depends.py index f4f4420b..9a2e2158 100755 --- a/src/depends.py +++ b/src/depends.py @@ -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'