diff --git a/fftcg/carddb.py b/fftcg/carddb.py index ef6743f..77f9fda 100644 --- a/fftcg/carddb.py +++ b/fftcg/carddb.py @@ -1,7 +1,5 @@ import yaml -from .ttsdeck import TTSDeck - _DictOfDicts = dict[str, dict[str, any]] @@ -43,4 +41,5 @@ class CardDB(_DictOfDicts): if all([f(content["card"]) for f in filters]) ] + from .ttsdeck import TTSDeck return TTSDeck(codes, self) diff --git a/main.py b/main.py index 685ff76..ccccf84 100755 --- a/main.py +++ b/main.py @@ -59,7 +59,6 @@ def main() -> None: filters = [[opus_filter]] else: - def element_filter(element: str): return lambda card: card.elements == [element]