X Tutup
Skip to content

Commit 03b2271

Browse files
committed
Add setlocale() call again. curses doesn't work correctly without it.
1 parent d3ab047 commit 03b2271

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bpython/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1733,6 +1733,7 @@ def main_curses(scr, args, config, interactive=True, locals_=None,
17331733
def main(args=None, locals_=None, banner=None):
17341734
global stdscr
17351735

1736+
locale.setlocale(locale.LC_ALL, "")
17361737
translations.init()
17371738

17381739
config, options, exec_args = bpython.args.parse(args)

0 commit comments

Comments
 (0)
X Tutup