Commit bf2b3f2d authored by Monica Rainer's avatar Monica Rainer
Browse files

Fix minor bug in shiftY computation

parent 009738fb
......@@ -203,8 +203,8 @@ class GBNodding():
except:
db.copy_dbfile(self.dbconn,'shiftY')
shift = db.extract_dbfile(self.dbconn,'shiftY')
if not shift:
shift = CONFIG['SHIFT_Y']
if not shift:
shift = CONFIG['SHIFT_Y']
shiftY = [''.join(('DY=',str(shift - CONFIG['SHIFT_Y'])))]
#print shiftY
......
......@@ -351,8 +351,8 @@ class GBStare():
except:
db.copy_dbfile(self.dbconn,'shiftY')
shift = db.extract_dbfile(self.dbconn,'shiftY')
if not shift:
shift = CONFIG['SHIFT_Y']
if not shift:
shift = CONFIG['SHIFT_Y']
shiftY = [''.join(('DY=',str(shift - CONFIG['SHIFT_Y'])))]
#print shiftY
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment