fix remove placeholder from trade

This commit is contained in:
Cayo Puigdefabregas 2023-01-11 10:18:22 +01:00
parent f929283f4f
commit a265af8864

View file

@ -778,6 +778,8 @@ class Device(Thing):
def change_owner(self, new_user):
"""util for change the owner one device"""
if not new_user:
return
self.owner = new_user
if hasattr(self, 'components'):
for c in self.components: