diff --git a/fiftyone/utils/cvat.py b/fiftyone/utils/cvat.py index 77816cf3d39..4e41ed9e1fd 100644 --- a/fiftyone/utils/cvat.py +++ b/fiftyone/utils/cvat.py @@ -4295,9 +4295,14 @@ def upload_samples(self, samples, backend): # use custom task name if provided, else use default name if config.task_name is None: - _dataset_name = samples_batch._dataset.name.replace(" ", "_") + _dataset_name = samples_batch._dataset.name.replace( + " ", "_" + ) latest_anno_key = _get_latest_anno_key(samples) - task_name = "FiftyOne_%s_%s" % (_dataset_name, latest_anno_key) + task_name = "FiftyOne_%s_%s" % ( + _dataset_name, + latest_anno_key, + ) else: task_name = config.task_name