Do nothing if plugins dir doesn't exist #4695
This commit is contained in:
parent
14bb44f539
commit
38bcea54d8
|
@ -1376,6 +1376,9 @@ class InternalCommands:
|
||||||
return filename
|
return filename
|
||||||
|
|
||||||
def findLibraryFile(self, type, dir, name):
|
def findLibraryFile(self, type, dir, name):
|
||||||
|
if not os.path.exists(dir):
|
||||||
|
return None
|
||||||
|
|
||||||
(platform, packageExt, libraryExt) = self.getDistributePlatformInfo(type)
|
(platform, packageExt, libraryExt) = self.getDistributePlatformInfo(type)
|
||||||
ext = libraryExt
|
ext = libraryExt
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue