diff --git a/pylib/anki/decks.py b/pylib/anki/decks.py index 4e980a5d7..0fb778f61 100644 --- a/pylib/anki/decks.py +++ b/pylib/anki/decks.py @@ -291,7 +291,8 @@ class DeckManager: ancestorPath = self._path(ancestorDeckName) return ancestorPath == self._path(descendantDeckName)[0 : len(ancestorPath)] - def _path(self, name: str) -> Any: + @staticmethod + def _path(name: str) -> Any: return name.split("::") def _basename(self, name: str) -> Any: