Show More
@@ -567,8 +567,11 b' class HistoryManager(HistoryAccessor):' | |||||
567 | conn = self.db |
|
567 | conn = self.db | |
568 |
|
568 | |||
569 | with conn: |
|
569 | with conn: | |
570 | cur = conn.execute("""INSERT INTO sessions VALUES (NULL, ?, NULL, |
|
570 | cur = conn.execute( | |
571 | NULL, "") """, (datetime.datetime.now(),)) |
|
571 | """INSERT INTO sessions VALUES (NULL, ?, NULL, | |
|
572 | NULL, '') """, | |||
|
573 | (datetime.datetime.now(),), | |||
|
574 | ) | |||
572 | self.session_number = cur.lastrowid |
|
575 | self.session_number = cur.lastrowid | |
573 |
|
576 | |||
574 | def end_session(self): |
|
577 | def end_session(self): |
General Comments 0
You need to be logged in to leave comments.
Login now