File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 1- #louisHelper.py
2- #A part of NonVisual Desktop Access (NVDA)
3- #This file is covered by the GNU General Public License.
4- #See the file COPYING for more details.
5- #Copyright (C) 2018 NV Access Limited, Babbage B.V.
1+ # louisHelper.py
2+ # A part of NonVisual Desktop Access (NVDA)
3+ # This file is covered by the GNU General Public License.
4+ # See the file COPYING for more details.
5+ # Copyright (C) 2018-2021 NV Access Limited, Babbage B.V., Joseph Lee
66
77"""Helper module to ease communication to and from liblouis."""
88
9- import louis
9+ # Python 3.8 changes the way DLL's are loaded due to security.
10+ # Thus manually add NVDA executable path to DLL lookup path for loading liblouis.dll.
11+ import os
12+ with os .add_dll_directory (os .path .dirname (__file__ )):
13+ import louis
1014from logHandler import log
1115import config
1216
You can’t perform that action at this time.
0 commit comments