diff options
Diffstat (limited to 'Source/SPExportFile.m')
-rw-r--r-- | Source/SPExportFile.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPExportFile.m b/Source/SPExportFile.m index af3e738a..125adf15 100644 --- a/Source/SPExportFile.m +++ b/Source/SPExportFile.m @@ -216,7 +216,7 @@ exportFileHandle = [[SPFileHandle fileHandleForWritingAtPath:[self exportFilePath]] retain]; if (!exportFileHandle) { - [[NSFileManager defaultManager] removeFileAtPath:[self exportFilePath] handler:nil]; + [[NSFileManager defaultManager] removeItemAtPath:[self exportFilePath] error:nil]; return SPExportFileHandleFailed; } |