summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorKelly Thomas <kelly.thomas@hotmail.com.au>2018-06-26 00:38:03 +0800
committerKelly Thomas <kelly.thomas@hotmail.com.au>2018-06-30 08:58:41 +0800
commit753230c275c21f991622ad550cf5219349294d3e (patch)
tree7d688702e20b4e33f9fe50ba11fd2befde2d57b1 /modules/mono
parent0954c8f01765125d90e641b85c6015b1371e5010 (diff)
convert unicode mono root path to ascii string
Diffstat (limited to 'modules/mono')
-rw-r--r--modules/mono/mono_reg_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/mono_reg_utils.py b/modules/mono/mono_reg_utils.py
index 9c188d07a7..c8ebb54ded 100644
--- a/modules/mono/mono_reg_utils.py
+++ b/modules/mono/mono_reg_utils.py
@@ -60,10 +60,10 @@ def _find_mono_in_reg_old(subkey, bits):
def find_mono_root_dir(bits):
root_dir = _find_mono_in_reg(r'SOFTWARE\Mono', bits)
if root_dir is not None:
- return root_dir
+ return str(root_dir)
root_dir = _find_mono_in_reg_old(r'SOFTWARE\Novell\Mono', bits)
if root_dir is not None:
- return root_dir
+ return str(root_dir)
return ''