Fix file deletion skipping
This commit is contained in:
parent
6cac237075
commit
eef7edab49
2 changed files with 12 additions and 6 deletions
|
@ -28,4 +28,7 @@ def get_deleted_prefix(filepath):
|
|||
return None
|
||||
|
||||
dirname = os.path.dirname(filepath)
|
||||
if not dirname:
|
||||
return deleted_filename
|
||||
|
||||
return os.path.join('/', dirname, deleted_filename)
|
||||
|
|
Reference in a new issue