mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update plugins_api.py
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user