diff --git a/ros_google_cloud_language/node_scripts/analyze_text.py b/ros_google_cloud_language/node_scripts/analyze_text.py index bd1a452ca..d8366a3dd 100644 --- a/ros_google_cloud_language/node_scripts/analyze_text.py +++ b/ros_google_cloud_language/node_scripts/analyze_text.py @@ -9,7 +9,10 @@ import rospy import os import sys -from unidecode import unidecode +try: + from unidecode import unidecode +except ImportError: + pass from ros_google_cloud_language.msg import AnalyzeTextAction from ros_google_cloud_language.msg import AnalyzeTextResult