diff --git a/iarchiver/database.py b/iarchiver/database.py index bee4b09..cfab463 100644 --- a/iarchiver/database.py +++ b/iarchiver/database.py @@ -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() diff --git a/templates/index.html b/templates/index.html index 5e0ab9c..c72c69e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -26,7 +26,6 @@ {{ sync.type }} {{ sync.new_emails }} {{ sync.new_attachments }} - {{ sync.new_folders }} {{ sync.duration }} {% endfor %}