Fixed stetting of Cellstate from Checkcell 2

This commit is contained in:
2016-12-14 11:16:18 +01:00
parent 8dad2891f4
commit 2907a0e270

3
DB.py
View File

@@ -630,8 +630,9 @@ class DB:
if data ['pp%02d' % i] == 'n.i.O.':
where, field = pruefpunkte ['pp%02d' % i]
if _states [where] != 'n.Durchlaufen':
self.log (5, 'PD10 pp%02d n.i.O updating part data %s' % (i, where))
self.log (5, 'PD10 pp%02d n.i.O updating part data and State in bde %s' % (i, where))
self.updateinformation (data['dmc'], where, field, 'n.i.O.')
self.updatebde (data['dmc'], where, 'n.i.O.')
else:
self.log (5, 'PD10 pp%02d %s nDurchlaufen do nothing' % (i, where))