Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Marishka17 committed Feb 7, 2025
1 parent 611fe0e commit 3d76a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat/apps/engine/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def init_tus_upload(self, request: PatchedRequest):
extra_headers={'Location': urljoin(location, tus_file.file_id),
'Upload-Filename': tus_file.filename})

def append_tus_chunk(self, request, file_id):
def append_tus_chunk(self, request: PatchedRequest, file_id: str):
tus_file = TusFile(str(file_id), self.get_upload_dir())
if request.method == 'HEAD':
if tus_file.exists():
Expand Down

0 comments on commit 3d76a72

Please sign in to comment.