From fc51a7de7a5b2727d0abb2f46cfd129f168e1b96 Mon Sep 17 00:00:00 2001 From: LDericher <40151420+ldericher@users.noreply.github.com> Date: Mon, 23 Aug 2021 16:55:41 +0200 Subject: [PATCH] imports --- fftcg/__init__.py | 3 +-- fftcg/carddb.py | 8 ++++---- fftcg/imageloader.py | 2 +- fftcg/opus.py | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/fftcg/__init__.py b/fftcg/__init__.py index c148d3c..aa874c2 100644 --- a/fftcg/__init__.py +++ b/fftcg/__init__.py @@ -1,7 +1,6 @@ from .book import Book -from .card import Card from .carddb import CardDB from .opus import Opus from .ttsdeck import TTSDeck -__all__ = ["Book", "Card", "CardDB", "Opus", "TTSDeck"] +__all__ = ["Book", "CardDB", "Opus", "TTSDeck"] diff --git a/fftcg/carddb.py b/fftcg/carddb.py index 26af57d..a6bee57 100644 --- a/fftcg/carddb.py +++ b/fftcg/carddb.py @@ -3,10 +3,10 @@ from __future__ import annotations import bz2 import pickle -from fftcg import Card -from fftcg.cards import Cards -from fftcg.code import Code -from fftcg.utils import CARDDB_FILE_NAME +from .card import Card +from .cards import Cards +from .code import Code +from .utils import CARDDB_FILE_NAME class CardDB: diff --git a/fftcg/imageloader.py b/fftcg/imageloader.py index 26cdb0b..22101a0 100644 --- a/fftcg/imageloader.py +++ b/fftcg/imageloader.py @@ -5,7 +5,7 @@ import multiprocessing import requests from PIL import Image -from fftcg.utils import RESOLUTION +from .utils import RESOLUTION class ImageLoader: diff --git a/fftcg/opus.py b/fftcg/opus.py index 3ab193c..627042e 100644 --- a/fftcg/opus.py +++ b/fftcg/opus.py @@ -3,7 +3,7 @@ import logging import requests import roman -from . import Card +from .card import Card from .cards import Cards from .ttsdeck import TTSDeck