1 diff --git a/Onboard/SpellChecker.py b/Onboard/SpellChecker.py
2 index 6a92757..46e755e 100644
3 --- a/Onboard/SpellChecker.py
4 +++ b/Onboard/SpellChecker.py
5 @@ -506,6 +506,10 @@ class hunspell(SCBackend):
7 paths.extend(dicpath.split(pathsep))
9 + datadirs = os.getenv("XDG_DATA_DIRS")
11 + paths.extend(map(lambda datadir: os.path.join(datadir, 'hunspell'), datadirs.split(pathsep)))
15 home = os.getenv("HOME")
16 @@ -723,4 +727,3 @@ class aspell_cmd(SCBackend):
17 _logger.error(_format("Failed to execute '{}', {}", \
19 return [id for id in dict_ids if id]