From ce2630bda577d0703882ac5887e39608add9ef93 Mon Sep 17 00:00:00 2001 From: wonyoHwang Date: Mon, 21 May 2018 15:07:10 +0900 Subject: [PATCH] Modify intent trigger code --- flask_clova/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask_clova/core.py b/flask_clova/core.py index d0e3da6..9004a86 100644 --- a/flask_clova/core.py +++ b/flask_clova/core.py @@ -334,7 +334,7 @@ def _flask_view_func(self, *args, **kwargs): else: logger.info("SessionEndedRequest Handler is not defined.") result = "{}", 200 - elif request_type == 'IntentRequest' and self._intent_view_funcs: + elif request_type == 'IntentRequest' and (self._intent_view_funcs or self._default_intent_view_func): result = self._map_intent_to_view_func(self.request.intent)() if result is not None: