Skip to content

Commit 5981d73

Browse files
committed
oe.py: use raw-string for split_dialog_text regex
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
1 parent f9cae4a commit 5981d73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/lib/oe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def timestamp():
681681

682682
def split_dialog_text(text):
683683
ret = [''] * 3
684-
txt = re.findall('.{1,60}(?:\W|$)', text)
684+
txt = re.findall(r'.{1,60}(?:\W|$)', text)
685685
for x in range(0, 2):
686686
if len(txt) > x:
687687
ret[x] = txt[x]

0 commit comments

Comments
 (0)