From c9dd38103745dbfdec0b27b58529186b9506bd23 Mon Sep 17 00:00:00 2001 From: Wuff <40003252+AnonTester@users.noreply.github.com> Date: Wed, 20 May 2020 19:01:43 +0100 Subject: [PATCH] Version 1.6.3 - fix validatePath error (issue 166) (#167) --- addon.xml | 8 +++++--- resources/lib/backup.py | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/addon.xml b/addon.xml index 7d58ac7..3f6a529 100644 --- a/addon.xml +++ b/addon.xml @@ -1,6 +1,6 @@  + name="Backup" version="1.6.3" provider-name="robweber"> @@ -89,12 +89,14 @@ resources/images/screenshot3.jpg resources/images/screenshot4.jpg - Version 1.6.2 + Version 1.6.3 + - fixed validatePath error (issue #166) +Version 1.6.2 - replaced PNG screenshots with JPG Version 1.6.1 - added file transfer size to progress bar - progress bar now based on transfer size, not total file count - fixed rotate backups error - thanks @AnonTester - + diff --git a/resources/lib/backup.py b/resources/lib/backup.py index 2947b0b..925e511 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -571,7 +571,7 @@ class FileManager: if(recurse): # create all the subdirs first for aDir in dirs: - dirPath = xbmc.validatePath(xbmc.translatePath(directory + self.pathSep + aDir)) + dirPath = xbmcvfs.validatePath(xbmc.translatePath(directory + self.pathSep + aDir)) file_ext = aDir.split('.')[-1] # check if directory is excluded