From 1ab1f18e07530573ab65e859733965fc73104fd8 Mon Sep 17 00:00:00 2001 From: croneter Date: Mon, 3 Dec 2018 07:59:25 +0100 Subject: [PATCH] Fix PKC version being recorded several times - Partially fixes #566 --- resources/lib/plex_db/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/plex_db/common.py b/resources/lib/plex_db/common.py index 8d69576d..4e9e50c0 100644 --- a/resources/lib/plex_db/common.py +++ b/resources/lib/plex_db/common.py @@ -161,7 +161,7 @@ def initialize(): with PlexDBBase() as plexdb: plexdb.cursor.execute(''' CREATE TABLE IF NOT EXISTS version( - idVersion TEXT) + idVersion TEXT PRIMARY KEY) ''') plexdb.cursor.execute(''' INSERT OR REPLACE INTO version(idVersion)