Skip to content

Commit d3cb425

Browse files
committed
Unbreak running just plain bpython (no exec_args, no --interactive).
1 parent 1e63da5 commit d3cb425

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/urwid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,8 @@ def main(args=None, locals_=None, banner=None):
397397
def start(main_loop, user_data):
398398
if exec_args:
399399
bpargs.exec_code(interpreter, exec_args)
400-
if not options.interactive:
401-
raise urwid.ExitMainLoop()
400+
if not options.interactive:
401+
raise urwid.ExitMainLoop()
402402
if not exec_args:
403403
sys.path.insert(0, '')
404404
# this is CLIRepl.startup inlined.

0 commit comments

Comments
 (0)