fix
This commit is contained in:
parent
a9d6ef6783
commit
f7f32c094c
|
@ -31,7 +31,7 @@ class EmailDatabase:
|
|||
self.conn = sqlite3.connect(filepath)
|
||||
cursor = self.conn.cursor()
|
||||
cursor.execute(f'CREATE TABLE IF NOT EXISTS folders_mapping (name TEXT UNIQUE, table_name TEXT UNIQUE)')
|
||||
cursor.execute(f'CREATE TABLE IF NOT EXISTS syncs (timestamp INTEGER UNIQUE, type TEXT, new_emails INTEGER, new_attachments INTEGER, new_folders INTEGER, duration INTEGER)')
|
||||
cursor.execute(f'CREATE TABLE IF NOT EXISTS syncs (timestamp INTEGER UNIQUE, type TEXT, new_emails INTEGER, new_attachments INTEGER, duration INTEGER)')
|
||||
self.conn.commit()
|
||||
cursor.close()
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
<td>{{ sync.type }}</td>
|
||||
<td>{{ sync.new_emails }}</td>
|
||||
<td>{{ sync.new_attachments }}</td>
|
||||
<td>{{ sync.new_folders }}</td>
|
||||
<td>{{ sync.duration }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue