1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-03 01:17:56 +03:00

Adding new tools libraries

This commit is contained in:
Adolfo Gómez García 2015-06-08 08:04:54 +02:00
parent 92db63d01d
commit e553b904c5

View File

@ -59,7 +59,7 @@ def saveTempFile(content, filename=None):
def findApp(appName, extraPath=None):
searchPath = os.environ['PATH'].split(os.pathsep)
if extraPath is not None:
searchPath += extraPath
searchPath += list(extraPath)
for path in searchPath:
fileName = os.path.join(path, appName)