Replace models by decks in models warning (#1619)

This commit is contained in:
Arthur Milchior 2022-01-24 02:47:58 +01:00 committed by GitHub
parent f534dbb8e5
commit d571ae29f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ class ModelsDictProxy:
def _warn(self) -> None: def _warn(self) -> None:
print_deprecation_warning( print_deprecation_warning(
"add-on should use methods on col.decks, not col.decks.decks dict" "add-on should use methods on col.models, not col.models.models dict"
) )
def __getitem__(self, item: Any) -> Any: def __getitem__(self, item: Any) -> Any: