From d571ae29f08aa11c736a792212dd0205ff663cb1 Mon Sep 17 00:00:00 2001 From: Arthur Milchior Date: Mon, 24 Jan 2022 02:47:58 +0100 Subject: [PATCH] Replace models by decks in models warning (#1619) --- pylib/anki/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib/anki/models.py b/pylib/anki/models.py index c6afcc876..08f8a7fb0 100644 --- a/pylib/anki/models.py +++ b/pylib/anki/models.py @@ -41,7 +41,7 @@ class ModelsDictProxy: def _warn(self) -> None: 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: