remove use of tmp_locn, use explicit coords, sizes - partial BUG-108 fix

This commit is contained in:
2022-12-23 13:41:20 +11:00
parent 5f5a41805a
commit 120cb9bd94
2 changed files with 1 additions and 12 deletions

11
face.py
View File

@@ -95,14 +95,3 @@ class FaceForceMatchOverride(PA, db.Model):
face_id = db.Column(db.Integer, db.ForeignKey("face.id"), primary_key=True )
person_id = db.Column(db.Integer, db.ForeignKey("person.id"), primary_key=True )
person = db.relationship("Person")
################################################################################
# TO BE REMOVED ONCE BUG 108 IS COMPLETE
################################################################################
def fix_face_locn(face):
# just fix any data issues in DB (happens with some bugs in code)
if face.locn[0]=='{':
face.locn[0]='['
face.locn[-1]=']'
return