mirror of
https://github.com/ldericher/fftcgtool
synced 2025-01-15 15:02:59 +00:00
minor fixes
This commit is contained in:
parent
61c4013bae
commit
60178329ed
2 changed files with 5 additions and 2 deletions
|
@ -11,9 +11,12 @@ class Cards(list[Card]):
|
||||||
super().__init__(cards)
|
super().__init__(cards)
|
||||||
self.__name = name
|
self.__name = name
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __repr__(self) -> str:
|
||||||
return f"[{', '.join(str(card) for card in self)}]"
|
return f"[{', '.join(str(card) for card in self)}]"
|
||||||
|
|
||||||
|
def __str__(self) -> str:
|
||||||
|
return repr(self)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self) -> str:
|
def name(self) -> str:
|
||||||
return self.__name
|
return self.__name
|
||||||
|
|
|
@ -41,7 +41,7 @@ class Opus(Cards):
|
||||||
self.__filename = "?"
|
self.__filename = "?"
|
||||||
params = {"set": "?"}
|
params = {"set": "?"}
|
||||||
|
|
||||||
logger.info(f"Importing Opus {self.__number}")
|
logger.info(f"Importing {name}")
|
||||||
|
|
||||||
# required params:
|
# required params:
|
||||||
# text
|
# text
|
||||||
|
|
Loading…
Reference in a new issue