Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24a3a23 commit 516fdb9Copy full SHA for 516fdb9
1 file changed
lib/core/common.py
@@ -285,7 +285,8 @@ def getDirs():
285
logger.info(infoMsg)
286
287
for absFilePath in kb.absFilePaths:
288
- directories.add(os.path.dirname(absFilePath))
+ if absFilePath:
289
+ directories.add(os.path.dirname(absFilePath))
290
else:
291
warnMsg = "unable to retrieve any web server path"
292
logger.warn(warnMsg)
@@ -299,7 +300,8 @@ def getDirs():
299
300
inputDirs = inputDirs.split(",")
301
302
for inputDir in inputDirs:
- directories.add(inputDir)
303
+ if inputDir:
304
+ directories.add(inputDir)
305
306
directories.add(defaultDir)
307
0 commit comments