Private
Public Access
1
0

Merge branch 'release/v22.6.9'

This commit is contained in:
2024-12-27 17:00:53 +01:00
2 changed files with 6 additions and 2 deletions

View File

@@ -500,11 +500,15 @@ class IntervalsIntegration(SyncIntegration):
try: try:
ps.comment = data['description'] ps.comment = data['description']
except KeyError: except KeyError:
ps.comment = '' pass
ps.startdate = arrow.get(data['start_date_local']).datetime ps.startdate = arrow.get(data['start_date_local']).datetime
ps.enddate = arrow.get(data['end_date_local']).datetime ps.enddate = arrow.get(data['end_date_local']).datetime
ps.preferreddate = arrow.get(data['start_date_local']).datetime ps.preferreddate = arrow.get(data['start_date_local']).datetime
ps.sessionsport = mytypes.intervalsmappinginv[data['type']] try:
ps.sessionsport = mytypes.intervalsmappinginv[data['type']]
except KeyError:
pass
ps.sessiontype = 'session' ps.sessiontype = 'session'
ps.save() ps.save()
try: try:

Binary file not shown.