Commit ea8d2df3 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor fix.

parent cf27bf6e
......@@ -216,8 +216,8 @@ def mirror(
# In tests, we mirror from our selves, fake that the upload does not exist
raise KeyError()
if replace:
delete_upload(upload=upload)
if replace and not dry:
delete_upload(upload=upload, skip_files=True)
else:
if len(query) > 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment