Skip to content

Commit cca3727

Browse files
Merge pull request #43 from prometheusresearch/baseline/pyshell-importerror-fix
rex pyshell: fixed NameError
2 parents 332af74 + dc2c041 commit cca3727

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rex.ctl/src/rex/ctl/std.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,8 @@ def __call__(self):
629629
code.interact(banner, local=namespace)
630630
else:
631631
banner = self.IPYTHON_BANNER.format(name=name, app=app)
632-
sh = InteractiveShellEmbed(banner1=banner)
633-
sh(local_ns=namespace)
632+
sh = InteractiveShellEmbed(banner1=banner, user_ns=namespace)
633+
sh()
634634

635635

636636
class ConfigurationTopic(Topic):

0 commit comments

Comments
 (0)