Private
Public Access
1
0
This commit is contained in:
2024-12-27 17:00:37 +01:00
parent c8feba9afb
commit d89593bb7d
2 changed files with 6 additions and 2 deletions

View File

@@ -500,11 +500,15 @@ class IntervalsIntegration(SyncIntegration):
try:
ps.comment = data['description']
except KeyError:
ps.comment = ''
pass
ps.startdate = arrow.get(data['start_date_local']).datetime
ps.enddate = arrow.get(data['end_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.save()
try:

Binary file not shown.