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:
if replace and not dry:
delete_upload(upload=upload, skip_files=True)
if len(query) > 0:
Supports Markdown
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