Compare commits

..

7 Commits

View File

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