diff options
Diffstat (limited to 'cerbero/utils/__init__.py')
-rw-r--r-- | cerbero/utils/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py index d5725dcd..624a461e 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -470,8 +470,8 @@ def parse_file(filename, dict): def escape_path(path): path = path.replace('\\', '/') - path = path.replace('(', '\\\(').replace(')', '\\\)') - path = path.replace(' ', '\\\\ ') + path = path.replace('(', r'\\(').replace(')', r'\\)') + path = path.replace(' ', r'\\ ') return path |