summaryrefslogtreecommitdiffstats
path: root/lanre_py/lanre.py
diff options
context:
space:
mode:
authorJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-25 15:05:07 +0100
committerJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-25 15:05:07 +0100
commitb30a5f614e5178fca2adb25faaa5d43c8bd70463 (patch)
treefd8d6d5dacec9dabea02f4bc160d5d19e2d6eb36 /lanre_py/lanre.py
parent765c37829a0aba9f20fea697da37a518602be727 (diff)
downloadlanre-b30a5f614e5178fca2adb25faaa5d43c8bd70463.tar.gz
lanre-b30a5f614e5178fca2adb25faaa5d43c8bd70463.tar.bz2
lanre-b30a5f614e5178fca2adb25faaa5d43c8bd70463.zip
Logo: lanre
Diffstat (limited to 'lanre_py/lanre.py')
-rw-r--r--lanre_py/lanre.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lanre_py/lanre.py b/lanre_py/lanre.py
index 376d4a6..2effe07 100644
--- a/lanre_py/lanre.py
+++ b/lanre_py/lanre.py
@@ -102,6 +102,7 @@ def get_exact_translation(retrieved_json):
response = "No translation"
return response
+
def fetch_translations(retrieved_json):
response = ""
if(retrieved_json["term0"]["PrincipalTranslations"]["0"]["FirstTranslation"]["term"] != ""):