Was incorrect
This commit is contained in:
@@ -28,9 +28,9 @@ import random
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
def get_xmlsec_binary():
|
def get_xmlsec_binary():
|
||||||
for path in os.environ["PATH"]:
|
for path in os.environ["PATH"].split(":"):
|
||||||
fil = os.path.join(os.path.dirname(path), "xmlsec1")
|
fil = os.path.join(path, "xmlsec1")
|
||||||
if os.access(fil):
|
if os.access(fil,os.X_OK):
|
||||||
return fil
|
return fil
|
||||||
|
|
||||||
raise Exception("Can't find xmlsec1")
|
raise Exception("Can't find xmlsec1")
|
||||||
|
|||||||
Reference in New Issue
Block a user