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     33       def _loadDictionary (self, sfDictionary):
    34     34           "returns an IBDAWG object"
    35     35           if not sfDictionary:
    36     36               return None
    37     37           try:
    38     38               return ibdawg.IBDAWG(sfDictionary)
    39     39           except:
    40         -            print("Error: <" + sDicName + "> not loaded.")
           40  +            print("Error: <" + sfDictionary + "> not loaded.")
    41     41               traceback.print_exc()
    42     42               return None
    43     43   
    44     44       def setMainDictionary (self, sfDictionary):
    45     45           "returns True if the dictionary is loaded"
    46     46           self.oMainDic = self._loadDictionary(sfDictionary)
    47     47           return bool(self.oMainDic)