Forgot about license string

This commit is contained in:
Frisk 2019-05-03 11:31:33 +02:00
parent 2ada659237
commit 3c2f540a4c
No known key found for this signature in database
GPG key ID: 0E9A7D3C0A01586C

View file

@ -554,7 +554,7 @@ def embed_formatter(action, change, parsed_comment, categories):
"Given regex for the license detection is incorrect. Please fix license_regex or license_regex_detect values in the config!")
license = "?"
if license is not None:
parsed_comment += "\n{}".format(license)
parsed_comment += "\nLicense: {}".format(license)
if additional_info_retrieved:
embed["fields"] = [
{"name": _("Options"), "value": _("([preview]({link}))").format(link=embed["image"]["url"])}]