From afcc92686ea27d3a2c681be51f798b37b226f5da Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Tue, 9 Feb 2016 22:55:28 -0600 Subject: [PATCH] Remove duplicate logging --- resources/lib/librarysync.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index b55ffba5..ecbb63cf 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -103,20 +103,18 @@ class LibrarySync(threading.Thread): lastSync = utils.settings('LastIncrementalSync') if not lastSync: lastSync = "2010-01-01T00:00:00Z" - self.logMsg("Last sync run: %s" % lastSync, 1) lastSyncTime = utils.convertdate(lastSync) - self.logMsg("LastIncrementalSync : %s" % lastSyncTime, 1) + self.logMsg("Last sync run: %s" % lastSyncTime, 1) # get server RetentionDateTime url = "{server}/Emby.Kodi.SyncQueue/GetServerDateTime?format=json" result = self.doUtils.downloadUrl(url) retention_time = "2010-01-01T00:00:00Z" if result and result.get('RetentionDateTime'): - self.logMsg("RetentionDateTime Found", 1) retention_time = result['RetentionDateTime'] retention_time = utils.convertdate(retention_time) - self.logMsg("RetentionDateTime : %s" % retention_time, 1) + self.logMsg("RetentionDateTime: %s" % retention_time, 1) # if last sync before retention time do a full sync if retention_time > lastSyncTime: