From 3f15161beda8734d8cd6f5e652bb4338e467a44e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 22 Jul 2014 17:32:34 +0200 Subject: [PATCH] fix ox.iso --- ox/iso.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ox/iso.py b/ox/iso.py index 63e137f..3b92acb 100644 --- a/ox/iso.py +++ b/ox/iso.py @@ -222,10 +222,10 @@ def langTo2Code(lang): return None def langCode2To3(code): - langTo3Code(codeToLang(code)) + return langTo3Code(codeToLang(code)) def langCode3To2(code): - langTo2Code(codeToLang(code)) + return langTo2Code(codeToLang(code)) def langEnglishName(lang): lang = lang.lower()