#NEWLINE# def updateFactoid( self , channel , key , newvalue , modifier_id ) : #NEWLINE# #INDENT# db = self . _getDb ( channel ) #NEWLINE# cursor = db . cursor ( ) #NEWLINE# cursor . execute ( 'UPDATE factoids\n                          SET fact=?, modified_by=?,\n                          modified_at=? WHERE key LIKE ?' , ( newvalue , modifier_id , int ( time . time ( ) ) , db ) ) #NEWLINE# db . commit ( )