From 138047bd328e9d70f987c40de075fe856157eb31 Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Fri, 21 Nov 2014 10:44:53 -0600 Subject: [PATCH] Kodi requires slash on directory "exists" --- resources/lib/backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/backup.py b/resources/lib/backup.py index dc8d64e..7a93024 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -560,7 +560,7 @@ class FileManager: def walkTree(self,directory): - if(self.vfs.exists(directory)): + if(self.vfs.exists(directory + "/")): dirs,files = self.vfs.listdir(directory) #create all the subdirs first