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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy