(self, simNote: str)
| 190 | conn.close() |
| 191 | |
| 192 | def simDescriptionCommit(self, simNote: str): |
| 193 | currTime = datetime.now() |
| 194 | insertQuery = '''INSERT INTO simINFO VALUES (?, ?, ?, ?, ?, ?, ?, ?);''' |
| 195 | conn = sqlite3.connect(self.dataBase) |
| 196 | cur = conn.cursor() |
| 197 | cur.execute( |
| 198 | insertQuery, |
| 199 | (currTime, self.dv.x, self.dv.y, self.dv.radius, '', '', |
| 200 | 'local area', simNote) |
| 201 | ) |
| 202 | |
| 203 | conn.commit() |
| 204 | cur.close() |
| 205 | conn.close() |
| 206 | |
| 207 | def createTimer(self): |
| 208 | t = threading.Timer(1, self.dataStore) |