Skip to content

Commit

Permalink
fixed task creation for archives (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
azhavoro authored and nmanovic committed Apr 2, 2019
1 parent 9c9c715 commit 03a9175
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cvat/apps/engine/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@ def _create_thread(tid, data):
_copy_data_from_share(data['server_files'], upload_dir)

if archive:
_unpack_archive(archive)
archive = os.path.join(upload_dir, archive)
_unpack_archive(archive, upload_dir)

if video:
db_task.mode = "interpolation"
Expand Down

0 comments on commit 03a9175

Please sign in to comment.