Skip to content

Commit

Permalink
[ros_google_cloud_language] Fix importing unidecode in python2
Browse files Browse the repository at this point in the history
  • Loading branch information
tkmtnt7000 committed Jul 24, 2023
1 parent 27fd419 commit cc249d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ros_google_cloud_language/node_scripts/analyze_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc249d2

Please sign in to comment.