提交 2d8346cd 编写于 作者: G gaotingquan 提交者: Tingquan Gao

fix _init_amp when export

上级 5bb2e8c3
......@@ -524,6 +524,9 @@ class Engine(object):
)
def _init_amp(self):
if self.mode == "export":
return
amp_config = self.config.get("AMP", None)
use_amp = True if amp_config and amp_config.get("use_amp",
True) else False
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册