From 7730c727e531cd1ca905c7a44b64c0b111a01ece Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Fri, 21 Nov 2014 13:30:22 -0600 Subject: [PATCH] fixed type in dropbox rmfile --- resources/lib/vfs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/vfs.py b/resources/lib/vfs.py index 3e9c6e3..ce2a65d 100644 --- a/resources/lib/vfs.py +++ b/resources/lib/vfs.py @@ -195,8 +195,9 @@ class DropboxFileSystem(Vfs): else: return False - def rmFile(self,aFile): + def rmfile(self,aFile): aFile = self._fix_slashes(aFile) + if(self.client != None and self.exists(aFile)): self.client.file_delete(aFile) return True