Grammalecte  Check-in [8d0a8d18c8]

Overview
Comment:[graphspell][py] spellchecker: fix wrong var name
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | graphspell | multid
Files: files | file ages | folders
SHA3-256: 8d0a8d18c808a2324e4c2b9109c64ca3facc8ee15bde89eeb18b9330e4bc8729
User & Date: olr on 2018-02-16 16:56:06
Other Links: branch diff | manifest | tags
Context
2018-02-16
16:57
[misc] MVS debug tool: new path for LibreOffice 6 check-in: 9082ad3a20 user: olr tags: misc, multid
16:56
[graphspell][py] spellchecker: fix wrong var name check-in: 8d0a8d18c8 user: olr tags: graphspell, multid
16:54
[lo] context menu: fix dictionary loading check-in: 6426ba35ee user: olr tags: lo, multid
Changes

Modified graphspell/spellchecker.py from [c7a5786ac5] to [04e7e71b65].

33
34
35
36
37
38
39
40

41
42
43
44
45
46
47
33
34
35
36
37
38
39

40
41
42
43
44
45
46
47







-
+







    def _loadDictionary (self, sfDictionary):
        "returns an IBDAWG object"
        if not sfDictionary:
            return None
        try:
            return ibdawg.IBDAWG(sfDictionary)
        except:
            print("Error: <" + sDicName + "> not loaded.")
            print("Error: <" + sfDictionary + "> not loaded.")
            traceback.print_exc()
            return None

    def setMainDictionary (self, sfDictionary):
        "returns True if the dictionary is loaded"
        self.oMainDic = self._loadDictionary(sfDictionary)
        return bool(self.oMainDic)