Skip to content

Commit

Permalink
Fix the similar dict-like access in pluginhunspellml.py as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihailim committed Feb 28, 2024
1 parent 438a3bc commit cd03e70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(self, hunspell_dllpath):
try:
# First use bundled hunspell location.
self.hunspell = cdll[hunspell_dllpath]
except OSError:
except (OSError, AttributeError):
# No bundled (or incompatible bundled) libhunspell found.
# found. So search for system libhunspell.
self.hunspell = None
Expand Down

0 comments on commit cd03e70

Please sign in to comment.