commit/eMule: norrumar: Used globalVars instead of getUserDefaultConfigPath as recommended in add-on guidelines, to take care about temporary copies of NVDA.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Fri, 25 Mar 2016 06:38:09 -0000

1 new commit in eMule:

https://bitbucket.org/nvdaaddonteam/emule/commits/c44c0b7f0067/
Changeset:   c44c0b7f0067
Branch:      master
User:        norrumar
Date:        2016-03-25 06:37:42+00:00
Summary:     Used globalVars instead of getUserDefaultConfigPath as recommended 
in add-on guidelines, to take care about temporary copies of NVDA.

Affected #:  1 file

diff --git a/addon/installTasks.py b/addon/installTasks.py
index 487e8d5..f4389c4 100644
--- a/addon/installTasks.py
+++ b/addon/installTasks.py
@@ -1,10 +1,10 @@
-import config
+import globalVars
 import os
 import shutil
 import glob
 
 def onInstall():
-       configPath = config.getUserDefaultConfigPath()
+       configPath = globalVars.appArgs.configPath
        modulePath = os.path.join(configPath, "appModules")
        modulePath = glob.glob(modulePath+"\\emule.*")
        for file in modulePath:

Repository URL: https://bitbucket.org/nvdaaddonteam/emule/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.

Other related posts:

  • » commit/eMule: norrumar: Used globalVars instead of getUserDefaultConfigPath as recommended in add-on guidelines, to take care about temporary copies of NVDA. - commits-noreply