From 73346b3c2f03c98994f3f3125dc8bc16e86776d3 Mon Sep 17 00:00:00 2001 From: Andrey Zhavoronkov <41117609+azhavoro@users.noreply.github.com> Date: Fri, 10 Apr 2020 17:30:49 +0300 Subject: [PATCH] Az/fix remote files (#1392) * fixed task creation from remote files * Update CHANGELOG.md --- CHANGELOG.md | 3 ++- cvat/apps/engine/serializers.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40b823f0..9e99a221 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,7 +33,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Hidden points (or outsided) are visible after changing a frame - Merge is allowed for points, but clicks on points conflict with frame dragging logic - Removed objects are visible for search -- Add missed task_id and job_id fields into exception logs for the new UI (https://github.com/opencv/cvat/pull/1372) +- Add missed task_id and job_id fields into exception logs for the new UI (https://github.com/opencv/cvat/pull/1372) +- Task creation from remote files (https://github.com/opencv/cvat/pull/1392) ### Security - diff --git a/cvat/apps/engine/serializers.py b/cvat/apps/engine/serializers.py index da0cd5d7..5c8cd9c0 100644 --- a/cvat/apps/engine/serializers.py +++ b/cvat/apps/engine/serializers.py @@ -207,6 +207,7 @@ class DataSerializer(serializers.ModelSerializer): os.makedirs(db_data.get_compressed_cache_dirname()) os.makedirs(db_data.get_original_cache_dirname()) + os.makedirs(db_data.get_upload_dirname()) for f in client_files: client_file = models.ClientFile(data=db_data, **f)