Format code

This commit is contained in:
Toast 2025-05-28 10:50:13 +02:00
parent 669dd9168d
commit f3650c10a9
3 changed files with 32 additions and 17 deletions

View file

@ -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: