mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +00:00
Prevent multiple version writing
This commit is contained in:
parent
31755845fc
commit
673315e46c
2 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ class Embydb_Functions():
|
|||
def get_version(self, version=None):
|
||||
|
||||
if version is not None:
|
||||
self.embycursor.execute("DELETE FROM version")
|
||||
query = "INSERT INTO version(idVersion) VALUES (?)"
|
||||
self.embycursor.execute(query, (version,))
|
||||
else:
|
||||
|
|
|
@ -54,7 +54,7 @@ class Items(object):
|
|||
if total == 0:
|
||||
return False
|
||||
|
||||
log.info("Processing %s: %s", process, items)
|
||||
#log.info("Processing %s: %s", process, items)
|
||||
if pdialog:
|
||||
pdialog.update(heading="Processing %s: %s items" % (process, total))
|
||||
|
||||
|
|
Loading…
Reference in a new issue