mirror of
https://github.com/ldericher/fftcgtool
synced 2025-01-15 15:02:59 +00:00
resolve circular import
This commit is contained in:
parent
7ed1981588
commit
730775a660
2 changed files with 1 additions and 3 deletions
|
@ -1,7 +1,5 @@
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
from .ttsdeck import TTSDeck
|
|
||||||
|
|
||||||
_DictOfDicts = dict[str, dict[str, any]]
|
_DictOfDicts = dict[str, dict[str, any]]
|
||||||
|
|
||||||
|
|
||||||
|
@ -43,4 +41,5 @@ class CardDB(_DictOfDicts):
|
||||||
if all([f(content["card"]) for f in filters])
|
if all([f(content["card"]) for f in filters])
|
||||||
]
|
]
|
||||||
|
|
||||||
|
from .ttsdeck import TTSDeck
|
||||||
return TTSDeck(codes, self)
|
return TTSDeck(codes, self)
|
||||||
|
|
1
main.py
1
main.py
|
@ -59,7 +59,6 @@ def main() -> None:
|
||||||
filters = [[opus_filter]]
|
filters = [[opus_filter]]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
||||||
def element_filter(element: str):
|
def element_filter(element: str):
|
||||||
return lambda card: card.elements == [element]
|
return lambda card: card.elements == [element]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue