keep command on the obbject so it can be shown on the results

This commit is contained in:
hjoaquim
2024-05-08 23:08:12 +01:00
parent 7f5517ff59
commit 0cb1b37652
2 changed files with 4 additions and 0 deletions

View File

@@ -162,6 +162,9 @@ class PlatformController(BaseController):
if max_obbjects_exceeded:
session.obbject_registry.remove()
# use the obbject to store the command so we can display it later on results
obbject.extra["command"] = f"{title} {' '.join(other_args)}"
session.obbject_registry.register(obbject)
# we need to force to re-link so that the new obbject
# is immediately available for data processing commands