commit/placeMarkers: norrumar: Bug fixed: using mbcs to decode coding in _basePath variable.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Sat, 21 Sep 2013 17:36:09 -0000

1 new commit in placeMarkers:

https://bitbucket.org/nvdaaddonteam/placemarkers/commits/729919169f97/
Changeset:   729919169f97
Branch:      master
User:        norrumar
Date:        2013-09-21 19:35:12
Summary:     Bug fixed: using mbcs to decode coding in _basePath variable.

Affected #:  1 file

diff --git a/addon/globalPlugins/placeMarkers.py 
b/addon/globalPlugins/placeMarkers.py
index fbba5d3..8c3a567 100755
--- a/addon/globalPlugins/placeMarkers.py
+++ b/addon/globalPlugins/placeMarkers.py
@@ -1,6 +1,8 @@
 # -*- coding: UTF-8 -*-
 
 # PlaceMarkers
+# Used decode("mbcs") instead of unicode in _basePath variable
+# Date: 21/09/2013
 # Added searched strings history
 # Date: 01/07/2013
 # Limited length of file names
@@ -39,7 +41,7 @@ from gui.settingsDialogs import SettingsDialog
 
 addonHandler.initTranslation()
 
-_basePath = unicode(os.path.join(os.path.dirname(__file__), "placeMarkers"))
+_basePath = os.path.join(os.path.dirname(__file__), 
"placeMarkers").decode("mbcs")
 _searchFolder = os.path.join(_basePath, "search")
 searchFile = ""
 lastSpecificFindText = ""

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

--

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/placeMarkers: norrumar: Bug fixed: using mbcs to decode coding in _basePath variable. - commits-noreply