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:
parent
92db63d01d
commit
e553b904c5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user