equal
deleted
inserted
replaced
69 FOUT.write("</i>") |
69 FOUT.write("</i>") |
70 if LANGS and len(LANGS) > 1: |
70 if LANGS and len(LANGS) > 1: |
71 FOUT.write("<br>") |
71 FOUT.write("<br>") |
72 else: |
72 else: |
73 FOUT.write(" ") |
73 FOUT.write(" ") |
74 for (lang, tr) in sense.tr_list: |
74 for (lang, tr) in sense.tr_list or []: |
75 tr = tr.replace('\n', ' ') |
75 tr = tr.replace('\n', ' ') |
76 if LANGS is None: |
76 if LANGS is None: |
77 FOUT.write(tr) |
77 FOUT.write(tr) |
78 elif lang in LANGS: |
78 elif lang in LANGS: |
79 if len(LANGS) == 1: |
79 if len(LANGS) == 1: |