Format code
This commit is contained in:
parent
669dd9168d
commit
f3650c10a9
3 changed files with 32 additions and 17 deletions
|
|
@ -27,13 +27,13 @@ class Mod:
|
|||
if "description" not in self.__config.keys():
|
||||
return None
|
||||
else:
|
||||
return self.__config.get("description",str)
|
||||
return self.__config.get("description", str)
|
||||
|
||||
@property
|
||||
def author(self) -> str | None:
|
||||
if "author" not in self.__config:
|
||||
return None
|
||||
return self.__config.get("author",str)
|
||||
return self.__config.get("author", str)
|
||||
|
||||
@property
|
||||
def enabled(self) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue