summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ru_RU/pythonpath/lightproof_impl_ru_RU.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ru_RU/pythonpath/lightproof_impl_ru_RU.py b/ru_RU/pythonpath/lightproof_impl_ru_RU.py
index 68e8f56..0537d24 100644
--- a/ru_RU/pythonpath/lightproof_impl_ru_RU.py
+++ b/ru_RU/pythonpath/lightproof_impl_ru_RU.py
@@ -1,6 +1,5 @@
# -*- encoding: UTF-8 -*-
import uno, re, sys, os, traceback
-from string import join
from com.sun.star.text.TextMarkupType import PROOFREADING
from com.sun.star.beans import PropertyValue
@@ -119,7 +118,7 @@ def suggest(rLoc, word):
if not x:
return word
t = x.getAlternatives()
- suggestions[word] = join(t, "\\n")
+ suggestions[word] = "\\n".join(t)
return suggestions[word]
# get the nth word of the input string or None