Skip to content

Commit 026eea5

Browse files
committed
Pass the banner argument correctly to main() in embed().
1 parent 277d2c3 commit 026eea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626

2727
def embed(locals_=None, args=['-i', '-q'], banner=None):
2828
from bpython.cli import main
29-
return main(args, locals_)
29+
return main(args, locals_, banner)

0 commit comments

Comments
 (0)