(self, simNote: str)
| 227 | conn.close() |
| 228 | |
| 229 | def simDescriptionCommit(self, simNote: str): |
| 230 | currTime = datetime.now() |
| 231 | insertQuery = '''INSERT INTO simINFO VALUES (?, ?, ?, ?, ?, ?, ?, ?);''' |
| 232 | conn = sqlite3.connect(self.dataBase) |
| 233 | cur = conn.cursor() |
| 234 | cur.execute( |
| 235 | insertQuery, |
| 236 | (currTime, None, None, None, self.ego.id, '', 'ego track', simNote)) |
| 237 | |
| 238 | conn.commit() |
| 239 | cur.close() |
| 240 | conn.close() |
| 241 | |
| 242 | def createTimer(self): |
| 243 | if not self.tpEnd or not self.dataQue.empty(): |