mirror of
https://github.com/ldericher/fftcgtool
synced 2025-01-15 23:03:00 +00:00
imports
This commit is contained in:
parent
cbc57e7611
commit
fc51a7de7a
4 changed files with 7 additions and 8 deletions
|
@ -1,7 +1,6 @@
|
||||||
from .book import Book
|
from .book import Book
|
||||||
from .card import Card
|
|
||||||
from .carddb import CardDB
|
from .carddb import CardDB
|
||||||
from .opus import Opus
|
from .opus import Opus
|
||||||
from .ttsdeck import TTSDeck
|
from .ttsdeck import TTSDeck
|
||||||
|
|
||||||
__all__ = ["Book", "Card", "CardDB", "Opus", "TTSDeck"]
|
__all__ = ["Book", "CardDB", "Opus", "TTSDeck"]
|
||||||
|
|
|
@ -3,10 +3,10 @@ from __future__ import annotations
|
||||||
import bz2
|
import bz2
|
||||||
import pickle
|
import pickle
|
||||||
|
|
||||||
from fftcg import Card
|
from .card import Card
|
||||||
from fftcg.cards import Cards
|
from .cards import Cards
|
||||||
from fftcg.code import Code
|
from .code import Code
|
||||||
from fftcg.utils import CARDDB_FILE_NAME
|
from .utils import CARDDB_FILE_NAME
|
||||||
|
|
||||||
|
|
||||||
class CardDB:
|
class CardDB:
|
||||||
|
|
|
@ -5,7 +5,7 @@ import multiprocessing
|
||||||
import requests
|
import requests
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
from fftcg.utils import RESOLUTION
|
from .utils import RESOLUTION
|
||||||
|
|
||||||
|
|
||||||
class ImageLoader:
|
class ImageLoader:
|
||||||
|
|
|
@ -3,7 +3,7 @@ import logging
|
||||||
import requests
|
import requests
|
||||||
import roman
|
import roman
|
||||||
|
|
||||||
from . import Card
|
from .card import Card
|
||||||
from .cards import Cards
|
from .cards import Cards
|
||||||
from .ttsdeck import TTSDeck
|
from .ttsdeck import TTSDeck
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue