From 03446bb74f0d8c9a26789fc929fa41541f7bae00 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 1 Jan 2017 21:48:44 +0000 Subject: [PATCH] =?UTF-8?q?Make=20sure=20strings=20don=E2=80=99t=20contain?= =?UTF-8?q?=20unescaped=20backslashes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/helpers.py | 2 +- src/gui_interface.py | 4 ++-- src/plugins/pluginmanager.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/helpers.py b/src/common/helpers.py index 988df203d..09a791dd2 100644 --- a/src/common/helpers.py +++ b/src/common/helpers.py @@ -459,7 +459,7 @@ def get_output_of_command(command): return output def get_windows_reg_env(varname, default=''): - """ + r""" Ask for paths commonly used but not exposed as ENVs in english Windows 2003 those are: 'AppData' = %USERPROFILE%\Application Data (also an ENV) diff --git a/src/gui_interface.py b/src/gui_interface.py index d06a379d0..7967fefb5 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -1943,9 +1943,9 @@ class Interface: # We match from our list of emoticons, but they must either have # whitespace, or another emoticon next to it to match successfully # [\w.] alphanumeric and dot (for not matching 8) in (2.8)) - emoticons_pattern = '|' + '(?:(?