Fix use of codecs.escape_decode()
This commit is contained in:
parent
94246003d5
commit
4b44aa4799
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ def main():
|
|||
if backrefs:
|
||||
line = re.sub(r'(\\[0-9]{1,3})', r'\\\1', line)
|
||||
|
||||
line = codecs.escape_decode(line)
|
||||
line = codecs.escape_decode(line)[0]
|
||||
|
||||
present(module, dest, params['regexp'], line,
|
||||
ins_aft, ins_bef, create, backup, backrefs)
|
||||
|
|
Loading…
Reference in a new issue