fixing comment
This commit is contained in:
parent
2ee71def75
commit
4cbe28d591
|
@ -103,7 +103,7 @@ class TagDeviceView(View):
|
||||||
else:
|
else:
|
||||||
raise LinkedToAnotherDevice(tag.device_id)
|
raise LinkedToAnotherDevice(tag.device_id)
|
||||||
else:
|
else:
|
||||||
# Check if this device exist for this woner
|
# Check if this device exist for this owner
|
||||||
Device.query.filter_by(owner=g.user).filter_by(id=device_id).one()
|
Device.query.filter_by(owner=g.user).filter_by(id=device_id).one()
|
||||||
tag.device_id = device_id
|
tag.device_id = device_id
|
||||||
|
|
||||||
|
|
Reference in New Issue