Dimitri Korsch 3 rokov pred
rodič
commit
5df212afd3
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      cvdatasets/annotation/types/__init__.py

+ 1 - 1
cvdatasets/annotation/types/__init__.py

@@ -25,7 +25,7 @@ class AnnotationType(BaseChoiceType):
 
 		else:
 			assert opts.dataset in info_file.DATASETS, \
-				f"No information was found about the dataset \"{opts.dataset}\" in the info file \"{args.data}\""
+				f"No information was found about the dataset \"{opts.dataset}\" in the info file \"{opts.data}\""
 			annot = cls[ds_info.annotation_type.lower()].value
 
 		return annot.new(opts, ds_info=ds_info, **kwargs)