Update plugins_api.py

This commit is contained in:
Mr Chen
2024-06-15 22:18:09 +08:00
parent 692f51fe44
commit 189f73e522
+1 -1
View File
@@ -1093,7 +1093,7 @@ class plugins_api:
if not package in sys.path:
sys.path.append(package)
eval_str = "__import__('" + script + "')." + func + '(' + args + ')'
newRet = None
try:
newRet = eval(eval_str)
except Exception as e: