# HG changeset patch # User Goffi # Date 1591676617 -7200 # Node ID d0e8b0a3ef9cd89345b9c971c8a0b63ad8eb0330 # Parent 91b5ae058c66ce7700b439659983c5b5cd629a5a comp file sharing management: fixed confirmation check diff -r 91b5ae058c66 -r d0e8b0a3ef9c sat/plugins/plugin_comp_file_sharing_management.py --- a/sat/plugins/plugin_comp_file_sharing_management.py Tue Jun 09 06:23:01 2020 +0200 +++ b/sat/plugins/plugin_comp_file_sharing_management.py Tue Jun 09 06:23:37 2020 +0200 @@ -351,7 +351,7 @@ 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: