remove use of tmp_locn, use explicit coords, sizes - partial BUG-108 fix
This commit is contained in:
11
face.py
11
face.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user