Mod, QMod: add long description property
This commit is contained in:
parent
902227a8bd
commit
8a36617298
2 changed files with 12 additions and 0 deletions
|
|
@ -41,6 +41,12 @@ class Mod:
|
|||
else:
|
||||
return self.__config.get("description", str)
|
||||
|
||||
@property
|
||||
def long_description(self) -> str | None:
|
||||
if "descriptionLong" in self.__meta:
|
||||
return self.__meta.get("descriptionLong", str)
|
||||
return None
|
||||
|
||||
@property
|
||||
def author(self) -> str | None:
|
||||
# TODO: return list with authors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue