pull/1398/head
Piero Toffanin 2023-09-18 15:54:19 -04:00
rodzic a364de2176
commit 9cf533f87c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -436,7 +436,7 @@ class TaskAssetsImport(APIView):
byte_offset = int(byte_offset)
total_chunk_count = int(total_chunk_count)
except ValueError:
raise exceptions.ValidationError(detail="some parameters are not integers")
raise exceptions.ValidationError(detail="Some parameters are not integers")
uuid = re.sub('[^0-9a-zA-Z-]+', "", uuid)
tmp_upload_file = os.path.join(settings.FILE_UPLOAD_TEMP_DIR, f"{uuid}.upload")