mirror of
https://github.com/MOIS3Y/logs-collector.git
synced 2025-09-13 13:13:01 +02:00
Fix: custom storage path
This commit is contained in:
@@ -11,7 +11,7 @@ from collector.models import Archive, Platform, Ticket
|
||||
|
||||
|
||||
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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user