QScintilla/SpellChecker.py

changeset 6
52e8c820d0dd
parent 0
de9c2efb9d02
child 12
1d8dd9706f46
--- a/QScintilla/SpellChecker.py	Mon Dec 28 17:05:28 2009 +0000
+++ b/QScintilla/SpellChecker.py	Mon Dec 28 18:31:37 2009 +0000
@@ -92,7 +92,7 @@
         @return reference to the dictionary (enchant.Dict)
         """
         if not pwl:
-            pwl = unicode(Preferences.getEditor("SpellCheckingPersonalWordList"))
+            pwl = Preferences.getEditor("SpellCheckingPersonalWordList")
             if not pwl:
                 pwl = os.path.join(Utilities.getConfigDir(), "spelling", "pwl.dic")
             d = os.path.dirname(pwl)
@@ -100,7 +100,7 @@
                 os.makedirs(d)
         
         if not pel:
-            pel = unicode(Preferences.getEditor("SpellCheckingPersonalExcludeList"))
+            pel = Preferences.getEditor("SpellCheckingPersonalExcludeList")
             if not pel:
                 pel = os.path.join(Utilities.getConfigDir(), "spelling", "pel.dic")
             d = os.path.dirname(pel)

eric ide

mercurial