Issue with get-untranslated bench command - throwing parse error

I am trying the command bench --site mysite.local get-untranslated ru translations/

and getting the following error.

Can anyone help me resolve the issue. Thanks!

File “/workspace/development/frappe-bench/env/lib/python3.7/sre_parse.py”, line 1021, in parse_template
this = chr(ESCAPES[this][1])
KeyError: ‘\s’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/lib/python3.7/runpy.py”, line 193, in _run_module_as_main
main”, mod_spec)
File “/usr/lib/python3.7/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/workspace/development/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 97, in
main()
File “/workspace/development/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/workspace/development/frappe-bench/env/lib/python3.7/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/workspace/development/frappe-bench/apps/frappe/frappe/commands/init.py”, line 25, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/workspace/development/frappe-bench/apps/frappe/frappe/commands/translate.py”, line 49, in get_untranslated
frappe.translate.get_untranslated(lang, untranslated_file, get_all=all)
File “/workspace/development/frappe-bench/apps/frappe/frappe/translate.py”, line 595, in get_untranslated
messages.extend(get_messages_for_app(app))
File “/workspace/development/frappe-bench/apps/frappe/frappe/translate.py”, line 313, in get_messages_for_app
messages.extend(get_server_messages(app))
File “/workspace/development/frappe-bench/apps/frappe/frappe/translate.py”, line 466, in get_server_messages
messages.extend(get_messages_from_file(os.path.join(basepath, f)))
File “/workspace/development/frappe-bench/apps/frappe/frappe/translate.py”, line 502, in get_messages_from_file
message) for message in extract_messages_from_code(sourcefile.read(), path.endswith(“.py”))]
File “/workspace/development/frappe-bench/apps/frappe/frappe/translate.py”, line 514, in extract_messages_from_code
code = frappe.as_unicode(render_include(code))
File “/workspace/development/frappe-bench/apps/frappe/frappe/model/utils/init.py”, line 75, in render_include
content = re.sub(r’‘’{{% include\s[‘"]{0}[’"]\s%}}‘’'.format(path), include, content)
File “/workspace/development/frappe-bench/env/lib/python3.7/re.py”, line 192, in sub
return _compile(pattern, flags).sub(repl, string, count)
File “/workspace/development/frappe-bench/env/lib/python3.7/re.py”, line 309, in _subx
template = _compile_repl(template, pattern)
File “/workspace/development/frappe-bench/env/lib/python3.7/re.py”, line 300, in _compile_repl
return sre_parse.parse_template(repl, pattern)
File “/workspace/development/frappe-bench/env/lib/python3.7/sre_parse.py”, line 1024, in parse_template
raise s.error(‘bad escape %s’ % this, len(this))
re.error: bad escape \s at position 1059 (line 2, column 975)