Kodi requires slash on directory "exists"

This commit is contained in:
Rob Weber 2014-11-21 10:44:53 -06:00
parent 2ac05ab042
commit 138047bd32

View File

@ -560,7 +560,7 @@ class FileManager:
def walkTree(self,directory): def walkTree(self,directory):
if(self.vfs.exists(directory)): if(self.vfs.exists(directory + "/")):
dirs,files = self.vfs.listdir(directory) dirs,files = self.vfs.listdir(directory)
#create all the subdirs first #create all the subdirs first