commit 3eeb02a355ab9261853377b7aa48ad2c2fedd77c parent 0f374c0be8570609a87cf71e298e930804ea4748 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Thu, 15 Mar 2012 02:20:56 +0100 fix badrhymesound errors Diffstat:
error.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/error.py b/error.py @@ -66,7 +66,7 @@ class ErrorBadRhymeSound(ErrorBadRhyme): ok = [] if len(pron) > 0: ok.append("") - return '/'.join([common.to_xsampa(x[-4:]) for x in pron]) + return '/'.join(list(set([common.to_xsampa(x[-4:]) for x in pron]))) def get_id(self): return self.pattern.myid