15
15
#key = message['loc_key']
16
16
#args = message['loc_args']
17
17
custom = message['custom']
19
23
oldCard = data['notification']['card']
22
26
card['summary'] = oldCard['summary'] if 'summary' in oldCard else ''
23
27
card['body'] = oldCard['body'] if 'body' in oldCard else ''
36
38
notification['card'] = card
37
39
notification['emblem-counter'] = emblem
38
40
notification['sound'] = True