This commit is contained in:
Cayo Puigdefabregas 2022-08-09 13:22:56 +02:00
parent 5a970b0e9b
commit 43667dd9f2
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ class UnBindingView(GenericMixin):
if device.is_abstract() != 'Twin': if device.is_abstract() != 'Twin':
dhid = device.devicehub_id dhid = device.devicehub_id
next_url = url_for('inventory.device_details', id=dhid) next_url = url_for('inventory.device_details', id=dhid)
messages.error('Device "{}" not is a Abstract device!'.format(dhid)) messages.error('Device "{}" not is a Twin device!'.format(dhid))
return flask.redirect(next_url) return flask.redirect(next_url)
self.get_context() self.get_context()