提交 9b5655f6 编写于 作者: H huangyuxin

fix 'print log' in cli

上级 02681b72
......@@ -99,7 +99,7 @@ class Log():
_call_from_cli = False
_frame = inspect.currentframe()
while _frame:
if 'paddlespeech/cli/__init__.py' in _frame.f_code.co_filename or 'paddlespeech/t2s' in _frame.f_code.co_filename:
if 'paddlespeech/cli/entry.py' in _frame.f_code.co_filename or 'paddlespeech/t2s' in _frame.f_code.co_filename:
_call_from_cli = True
break
_frame = _frame.f_back
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册