Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions devDocs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# A part of NonVisual Desktop Access (NVDA)
# Copyright (C) 2019 NV Access Limited, Leonard de Ruijter
# Copyright (C) 2019-2020 NV Access Limited, Leonard de Ruijter, Joseph Lee
# This file is covered by the GNU General Public License.
# See the file COPYING for more details.

Expand All @@ -16,7 +16,7 @@
import languageHandler # noqa: E402
languageHandler.setLanguage("en")

# Initialize globalvars.appArgs to something sensible.
# Initialize globalVars.appArgs to something sensible.
import globalVars # noqa: E402


Expand All @@ -30,6 +30,11 @@ class AppArgs:


globalVars.appArgs = AppArgs()
# #11971: NVDA is not running, therefore app dir is undefined.
# Therefore tell NVDA that apt source directory is app dir.
appDir = os.path.join("..", "source")
globalVars.appDir = os.path.abspath(appDir)


# Import NVDA's versionInfo module.
import versionInfo # noqa: E402
Expand Down