Commit 04fbc4a2 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'fix-avs-dlink-dir-login' into 'master'

DLink.DIR.login. Fix return result.

See merge request !5749
parents 06752a7d d9a39eae
Pipeline #33560 passed with stages
in 46 minutes and 39 seconds
......@@ -22,6 +22,6 @@ class Script(BaseScript):
def execute(self):
try:
self.http.get("/")
return True
except Exception:
return False
return {"result": True, "message": ""}
except Exception as e:
return {"result": False, "message": str(e)}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment