Options Exception in script
This commit is contained in:
parent
e01f044c33
commit
84e4d6d575
|
@ -105,11 +105,14 @@ class Script:
|
|||
# We're already running, so we have to explicitly register and
|
||||
# configure the addon
|
||||
ctx.master.addons.invoke_addon(self.ns, "running")
|
||||
try:
|
||||
ctx.master.addons.invoke_addon(
|
||||
self.ns,
|
||||
"configure",
|
||||
ctx.options.keys()
|
||||
)
|
||||
except exceptions.OptionsError as e:
|
||||
script_error_handler(self.fullpath,e,str(e))
|
||||
|
||||
async def watcher(self):
|
||||
last_mtime = 0
|
||||
|
|
Loading…
Reference in New Issue