From bc4bc4f045ff5feb7546c935f66eaa6295823334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 27 Nov 2017 16:12:01 -0500 Subject: [PATCH] Test --- get_general_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get_general_settings.py b/get_general_settings.py index 2d494e687..bc8cd6e50 100644 --- a/get_general_settings.py +++ b/get_general_settings.py @@ -38,7 +38,7 @@ def path_replace(path): elif path.startswith('/'): path = path.replace('\\', '/') break - return path.encode('string_escape') + return path.encode('utf8') def path_replace_reverse(path): print path @@ -51,4 +51,4 @@ def path_replace_reverse(path): path = path.replace('\\', '/') break print path - return path.encode('string_escape') + return path.encode('utf8')