Update plugins_api.py

pull/604/head
Mr Chen 11 months ago
parent 692f51fe44
commit 189f73e522
  1. 2
      class/core/plugins_api.py

@ -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:

Loading…
Cancel
Save