Fix file deletion skipping

This commit is contained in:
Joseph Schorr 2014-10-14 18:48:26 -04:00
parent 6cac237075
commit eef7edab49
2 changed files with 12 additions and 6 deletions

View file

@ -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)