From dbb8a6cdedaef19cd051e521ebd7c6bb875df697 Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Thu, 15 Jan 2009 23:02:44 +0530 Subject: maps were not loading --- payyans/payyans/payyan.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/payyans/payyans/payyan.py b/payyans/payyans/payyan.py index a0459e2..f3c1941 100755 --- a/payyans/payyans/payyan.py +++ b/payyans/payyans/payyan.py @@ -48,6 +48,8 @@ class Payyan: index = 0 prebase_letter = "" ascii_text="" + self.direction="u2a" + self.rulesDict = self.LoadRules() while index < len(unicode_text): '''കൂട്ടക്ഷരങ്ങള്‍ക്കൊരു കുറുക്കുവഴി''' for charNo in [3,2,1]: @@ -100,6 +102,8 @@ class Payyan: return 0 def word2Unicode(self, ascii_text): + self.direction="a2u" + self.rulesDict = self.LoadRules() index = 0 prebase_letter = "" unicode_text = "" -- cgit