web/directory: enable verify=true in t=deep-check
This commit is contained in:
parent
1306b11a76
commit
08e229f29a
|
@ -338,7 +338,10 @@ class DirectoryNodeHandler(RenderMixin, rend.Page, ReplaceMeMixin):
|
|||
|
||||
def _POST_deep_check(self, req):
|
||||
# check this directory and everything reachable from it
|
||||
d = self.node.deep_check()
|
||||
verify = boolean_of_arg(get_arg(req, "verify", "false"))
|
||||
#repair = boolean_of_arg(get_arg(req, "repair", "false"))
|
||||
repair = False # make sure it works first
|
||||
d = self.node.deep_check(verify, repair)
|
||||
d.addCallback(lambda res: DeepCheckResults(res))
|
||||
return d
|
||||
|
||||
|
|
Loading…
Reference in New Issue