From e33076ccc9cda24e7b5163ea129be6805fb8d34d Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 26 Mar 2018 07:40:47 +0200 Subject: [PATCH] isValidShell --- src/fenrirscreenreader/utils/screen_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/utils/screen_utils.py b/src/fenrirscreenreader/utils/screen_utils.py index 90785299..20db85e8 100644 --- a/src/fenrirscreenreader/utils/screen_utils.py +++ b/src/fenrirscreenreader/utils/screen_utils.py @@ -47,7 +47,7 @@ def isValidShell(shell = ''): try: if not os.path.isfile(shell): return False - if not os.access(shell,os.X_OK) + if not os.access(shell,os.X_OK): return False except: return False