Compare commits

..

7 Commits

View File

@ -173,9 +173,9 @@ class Message():
* Question * Question
* Answer.txt_header * Answer.txt_header
For '.yaml': For '.yaml':
* question: single or multiline string * Question.yaml_key: single or multiline string
* answer: single or multiline string * Answer.yaml_key: single or multiline string
* tags: list of strings * Message.tags_yaml_key: list of strings
""" """
if not file_path.exists(): if not file_path.exists():
raise MessageError(f"Message file '{file_path}' does not exist") raise MessageError(f"Message file '{file_path}' does not exist")
@ -212,7 +212,7 @@ class Message():
For '.yaml': For '.yaml':
* Question.yaml_key: single or multiline string * Question.yaml_key: single or multiline string
* Answer.yaml_key: single or multiline string * Answer.yaml_key: single or multiline string
* tags: list of strings * Message.tags_yaml_key: list of strings
""" """
if file_path: if file_path:
self.file_path = file_path self.file_path = file_path