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
|
||||
|
||||
2
files.py
2
files.py
@@ -32,7 +32,7 @@ from person import Refimg, Person, PersonRefimgLink
|
||||
from settings import Settings, SettingsIPath, SettingsSPath, SettingsRBPath
|
||||
from shared import SymlinkName
|
||||
from dups import Duplicates
|
||||
from face import Face, FaceFileLink, FaceRefimgLink, FaceOverrideType, FaceNoMatchOverride, FaceForceMatchOverride, fix_face_locn
|
||||
from face import Face, FaceFileLink, FaceRefimgLink, FaceOverrideType, FaceNoMatchOverride, FaceForceMatchOverride
|
||||
|
||||
# pylint: disable=no-member
|
||||
|
||||
|
||||
Reference in New Issue
Block a user