Abort file analysis if file is about to be overwritten
This commit is contained in:
parent
1f9b8f40cd
commit
997e0b510b
1 changed files with 4 additions and 0 deletions
|
|
@ -405,6 +405,10 @@ class FileManager(object):
|
|||
|
||||
if hook_file_object is not None:
|
||||
file_object = hook_file_object
|
||||
|
||||
queue_entry = self._analysis_queue_entry(destination, path)
|
||||
self._analysis_queue.dequeue(queue_entry)
|
||||
|
||||
file_path = self._storage(destination).add_file(path, file_object, links=links, printer_profile=printer_profile, allow_overwrite=allow_overwrite)
|
||||
|
||||
if analysis is None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue