Debug output for google sync
This commit is contained in:
@@ -242,6 +242,7 @@ def syncFromGoogleToLocal( service = None ):
|
||||
|
||||
if service is None: service = getServiceObject()
|
||||
|
||||
newStatusReceived = False
|
||||
allEvents = getAllGCalEvents( service, fromNow=True)
|
||||
for e in allEvents:
|
||||
localId = e['extendedProperties']['private']['blechreizID']
|
||||
@@ -268,6 +269,9 @@ def syncFromGoogleToLocal( service = None ):
|
||||
# and an endless loop is entered
|
||||
if prev.status != part.status or prev.comment != part.comment:
|
||||
part.save()
|
||||
newStatusReceived = True
|
||||
|
||||
return newStatusReceived
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user