Skip to content
Snippets Groups Projects
Commit 6dc8bb40 authored by sveseli's avatar sveseli
Browse files

patch for file deletion

parents 9a004c52 77f880ea
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ class RsyncFileTransferPlugin(FileTransferPlugin): ...@@ -86,7 +86,7 @@ class RsyncFileTransferPlugin(FileTransferPlugin):
# Remove file # Remove file
if self.deleteOriginal: if self.deleteOriginal:
self.logger.debug('Deleting file %s' % filePath) self.logger.debug('Deleting file %s' % filePath)
OsUtility.removeFile(srcUrl) OsUtility.removeFile(filePath)
def processDirectory(self, directoryInfo): def processDirectory(self, directoryInfo):
uploadInfo = directoryInfo.get('uploadInfo') uploadInfo = directoryInfo.get('uploadInfo')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment