kopia lustrzana https://github.com/OpenDroneMap/WebODM
capitalize
rodzic
a364de2176
commit
9cf533f87c
|
@ -436,7 +436,7 @@ class TaskAssetsImport(APIView):
|
||||||
byte_offset = int(byte_offset)
|
byte_offset = int(byte_offset)
|
||||||
total_chunk_count = int(total_chunk_count)
|
total_chunk_count = int(total_chunk_count)
|
||||||
except ValueError:
|
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)
|
uuid = re.sub('[^0-9a-zA-Z-]+', "", uuid)
|
||||||
|
|
||||||
tmp_upload_file = os.path.join(settings.FILE_UPLOAD_TEMP_DIR, f"{uuid}.upload")
|
tmp_upload_file = os.path.join(settings.FILE_UPLOAD_TEMP_DIR, f"{uuid}.upload")
|
||||||
|
|
Ładowanie…
Reference in New Issue