|
|
@ -44,7 +44,7 @@ def unfurl(url):
|
|
|
|
currency = 'kr'
|
|
|
|
currency = 'kr'
|
|
|
|
# Formateringsinstruktionen "n" ger oss decimaltecken enligt aktuell
|
|
|
|
# Formateringsinstruktionen "n" ger oss decimaltecken enligt aktuell
|
|
|
|
# locale.
|
|
|
|
# locale.
|
|
|
|
price = f'{float(ld["offers"]["price"]):n}' + ' ' + currency
|
|
|
|
price = f'{float(ld["offers"]["price"]):n}' + ' ' + currency
|
|
|
|
|
|
|
|
|
|
|
|
return {'fallback': title + ' <' + url + '>',
|
|
|
|
return {'fallback': title + ' <' + url + '>',
|
|
|
|
'color': '#cf8e00', # ELAB-orange
|
|
|
|
'color': '#cf8e00', # ELAB-orange
|
|
|
|