Fixed Reworking
This commit is contained in:
10
DB.py
10
DB.py
@@ -654,11 +654,11 @@ class DB:
|
||||
"""
|
||||
Updates part information
|
||||
"""
|
||||
|
||||
try:
|
||||
cursor = self.executesql ("UPDATE bde SET %s = '%s' WHERE dmc = '%s';" % (where, value, dmc))
|
||||
except:
|
||||
self.errlog ("Couldnt update field %s in table %s" % (field, where))
|
||||
# Disablede Updating of BDE state
|
||||
#try:
|
||||
# cursor = self.executesql ("UPDATE bde SET %s = '%s' WHERE dmc = '%s';" % (where, value, dmc))
|
||||
#except:
|
||||
# self.errlog ("Couldnt update field %s in table %s" % (field, where))
|
||||
|
||||
if where == 'chiron':
|
||||
self.log (5, 'Where is Chiron no need to update')
|
||||
|
||||
Reference in New Issue
Block a user