diff --git a/source/appModuleHandler.py b/source/appModuleHandler.py index 6c5eafb0b9d..50f87f2e4a9 100644 --- a/source/appModuleHandler.py +++ b/source/appModuleHandler.py @@ -1,7 +1,7 @@ # -*- coding: UTF-8 -*- #appModuleHandler.py #A part of NonVisual Desktop Access (NVDA) -#Copyright (C) 2006-2014 NV Access Limited, Peter Vágner, Aleksey Sadovoy, Patrick Zajda +#Copyright (C) 2006-2016 NV Access Limited, Peter Vágner, Aleksey Sadovoy, Patrick Zajda, Joseph Lee #This file is covered by the GNU General Public License. #See the file COPYING for more details. @@ -109,6 +109,9 @@ def getAppModuleFromProcessID(processID): mod=runningTable.get(processID) if not mod: appName=getAppNameFromProcessID(processID) + # #5323: Certain executables contain dots as part of its file name. + if "." in appName: + appName = appName.replace(".","_") mod=fetchAppModule(processID,appName) if not mod: raise RuntimeError("error fetching default appModule")