diff --git a/fftcg/cards.py b/fftcg/cards.py index 5a8f437..bf55c2f 100644 --- a/fftcg/cards.py +++ b/fftcg/cards.py @@ -11,9 +11,12 @@ class Cards(list[Card]): super().__init__(cards) self.__name = name - def __str__(self) -> str: + def __repr__(self) -> str: return f"[{', '.join(str(card) for card in self)}]" + def __str__(self) -> str: + return repr(self) + @property def name(self) -> str: return self.__name diff --git a/fftcg/opus.py b/fftcg/opus.py index adb74e0..3d27078 100644 --- a/fftcg/opus.py +++ b/fftcg/opus.py @@ -41,7 +41,7 @@ class Opus(Cards): self.__filename = "?" params = {"set": "?"} - logger.info(f"Importing Opus {self.__number}") + logger.info(f"Importing {name}") # required params: # text