isValidShell

This commit is contained in:
chrys 2018-03-26 07:40:47 +02:00
parent 8c114ea318
commit e33076ccc9

View File

@ -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