Browse Source

Missing '\'.

Steve Thielemann 3 years ago
parent
commit
8e59cc3fd4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ansi-to-src.py

+ 2 - 0
ansi-to-src.py

@@ -34,6 +34,8 @@ def my_repr(line):
                 r += '\\"'
             elif c == '?':
                 r += '\\?'
+            elif c == '\\':
+                r += '\\\\'
             else:
                 r += c
     return r