refine code

This commit is contained in:
geekan 2023-12-19 21:32:52 +08:00
parent 09e2f05a6a
commit 33c58d97fe
3 changed files with 6 additions and 6 deletions

View file

@ -44,7 +44,7 @@ class BasePostPrecessPlugin(object):
def run_retry_parse_json_text(self, content: str) -> Union[dict, list]:
"""inherited class can re-implement the function"""
logger.info(f"extracted json CONTENT from output:\n{content}")
logger.debug(f"extracted json CONTENT from output:\n{content}")
parsed_data = retry_parse_json_text(output=content) # should use output=content
return parsed_data