Skip to content

Commit b3a85f7

Browse files
committed
(fix) fixed console printing for plugins (symrun)
1 parent 05cb0be commit b3a85f7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

symai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
os.environ['TOKENIZERS_PARALLELISM'] = "false"
2828

2929

30-
SYMAI_VERSION = "0.7.4"
30+
SYMAI_VERSION = "0.7.5"
3131
__version__ = SYMAI_VERSION
3232
__root_dir__ = settings.HOME_PATH / '.symai'
3333

symai/extended/packages/symrun.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ def run_alias(self):
101101
else:
102102
result = expr(*arg_values, **kwargs)
103103

104+
if result is not None:
105+
self.console(result)
106+
else:
107+
self.console("Execution of {} => {} completed successfully.".format(args.alias, package))
108+
104109
return result
105110

106111
def c(self):

0 commit comments

Comments
 (0)