Skip to content

Commit 95c3797

Browse files
authored
Fix improper plugin pathing
1 parent f3c7a30 commit 95c3797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/plistwindow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def walk_kexts(self,path,parent=""):
418418
# Check if we have a PlugIns folder
419419
pdir = kdir+"/Contents/PlugIns"
420420
if os.path.exists(pdir) and os.path.isdir(pdir):
421-
kexts.extend(self.walk_kexts(pdir,parent+"/Contents/PlugIns/"+x))
421+
kexts.extend(self.walk_kexts(pdir,(parent+"/"+x if len(parent) else x)+"/Contents/PlugIns"))
422422
return kexts
423423

424424
def oc_snapshot(self, event = None):

0 commit comments

Comments
 (0)