def AddModel(self, model_key, model_desc):
		where = self.db.models.model_key == model_key
		if 0 > self.db( where ).count():
			self.db( where ).update( model_desc = model_desc )
		else:
			self.db.models.insert( model_key = model_key, model_desc = model_desc )
		self.db.commit()
dataset/ETHPy150Open uwdata/termite-data-server/server_src/modules/db/Corpus_DB.py/Corpus_DB.AddModel/swapped operands of `>`