Compare commits

..

No commits in common. '5f88eac46b2b67c1e0c3066f144026516d2fc020' and 'e5d741fbc5353b56bd9d0dd650f50156459da9b4' have entirely different histories.

@ -44,7 +44,7 @@ def unfurl(url):
currency = 'kr'
# Formateringsinstruktionen "n" ger oss decimaltecken enligt aktuell
# locale.
price = f'{float(ld["offers"]["price"]):n}' + '' + currency
price = f'{float(ld["offers"]["price"]):n}' + '' + currency
return {'fallback': title + ' <' + url + '>',
'color': '#cf8e00', # ELAB-orange
@ -97,7 +97,7 @@ def link_shared(event_data):
# Sätt locale (för att få komma som decimaltecken).
locale.setlocale(locale.LC_ALL, 'sv_SE.UTF-8')
locale.setlocale(locale.LC_ALL, '')
# Börja lyssna.
slack_events_adapter.start(port=8000)

Loading…
Cancel
Save