Skip to content

Commit 9dbfc81

Browse files
committed
Expose server object in virtac's interactive Python shell
1 parent 4d3054f commit 9dbfc81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

virtac/atip_ioc_entry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,5 @@ def main():
108108
server.monitor_mirrored_pvs()
109109
if args.enable_tfb:
110110
server.setup_tune_feedback()
111-
112-
softioc.interactive_ioc(globals())
111+
context = globals() | {"server": server}
112+
softioc.interactive_ioc(context)

0 commit comments

Comments
 (0)