diff --git a/cipher/parsers.py b/cipher/parsers.py index 8a7a00c..8b8708d 100644 --- a/cipher/parsers.py +++ b/cipher/parsers.py @@ -246,8 +246,9 @@ def __init__(self, file_path: str): f"Please check the \"plugin.yml\" file or update to the latest version of CipherOS" ) - if not len(self.authors) >= 1: - raise ParserError("There must be one or more authors in the \"authors\" config") + if isinstance(self.authors,list): + if not len(self.authors) >= 1: + raise ParserError("There must be one or more authors in the \"authors\" config") def get(self, key: str) -> str: """Returns a value of the specified key