Fix: custom storage path

This commit is contained in:
2023-08-30 16:38:28 +09:00
parent 68bec09209
commit b65481207a
6 changed files with 19 additions and 39 deletions

View File

@@ -8,7 +8,7 @@ from collector.models import Platform, Ticket, Archive
def delete_test_files(ticket):
test_file = settings.MEDIA_ROOT_FOR_SENSITIVE_FILES / Path(str(ticket))
test_file = settings.MEDIA_ROOT / Path(str(ticket))
test_file.unlink(missing_ok=True)