comp file sharing management: fixed confirmation check
This commit is contained in:
parent
87298f8a19
commit
47edb01bd3
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ class FileSharingManagement(object):
|
|||
else:
|
||||
# final phase, we'll do deletion here
|
||||
try:
|
||||
confirmed = command_form.fields['confirm']
|
||||
confirmed = C.bool(command_form.fields['confirm'].value)
|
||||
except KeyError:
|
||||
self._c.adHocError(self._c.ERROR.BAD_PAYLOAD)
|
||||
if not confirmed:
|
||||
|
|
|
|||
Loading…
Reference in a new issue