From 9e1c46f4d4f5b02d725a774bfb7798c2b31a8054 Mon Sep 17 00:00:00 2001 From: George Lacey Date: Wed, 21 Sep 2016 10:03:50 +0100 Subject: [PATCH] Add calculated duration to database Calculated duration added rather than placeholder --- Database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database.py b/Database.py index 4290456..49ba7ea 100644 --- a/Database.py +++ b/Database.py @@ -42,6 +42,6 @@ class Database(object): (log_entry.name, log_entry.fingerprint, log_entry.datetime_string(), - "1", + log_entry.duration, log_entry.file_count)) self.conn.commit()