diff --git a/fftcg/__init__.py b/fftcg/__init__.py index e69de29..9c9ce3d 100644 --- a/fftcg/__init__.py +++ b/fftcg/__init__.py @@ -0,0 +1,3 @@ +from book import Book +from opus import Opus + diff --git a/fftcg/book.py b/fftcg/book.py index 163e4d6..394d569 100644 --- a/fftcg/book.py +++ b/fftcg/book.py @@ -2,8 +2,8 @@ import logging from PIL import Image -from .cards import Cards -from .imageloader import ImageLoader +from cards import Cards +from imageloader import ImageLoader def chunks(whole: list[any], chunk_size) -> list: diff --git a/fftcg/cards.py b/fftcg/cards.py index 7a391a6..b4dcb8a 100644 --- a/fftcg/cards.py +++ b/fftcg/cards.py @@ -1,6 +1,6 @@ import requests -from .card import Card +from card import Card class Cards(list[Card]): diff --git a/fftcg/opus.py b/fftcg/opus.py index 0e79314..24a61a1 100644 --- a/fftcg/opus.py +++ b/fftcg/opus.py @@ -2,7 +2,7 @@ import logging import roman -from .cards import Cards +from cards import Cards class Opus(Cards): diff --git a/main.py b/main.py index b700af2..6d0c743 100755 --- a/main.py +++ b/main.py @@ -3,8 +3,7 @@ import argparse import logging import os -from fftcg.book import Book -from fftcg.opus import Opus +from fftcg import Book, Opus # constants GRID = 7, 10 # default in TTsim: 7 rows, 10 columns