Made paths even more truncated

This commit is contained in:
Simon 2018-08-09 20:41:45 -04:00
parent d1877ea247
commit fae9d8e82e

View File

@ -112,7 +112,7 @@ class OdDatabase:
hl_path = format_highlight(hit["highlight"]["path"][0])
else:
hl_path = src["path"]
hl_path = truncate_path(hl_path, 65)
hl_path = truncate_path(hl_path, 35)
hl_path += "/" if hl_path else ""
message += "[" + src["website_url"] + "](https://od-db.the-eye.eu/website/" + str(src["website_id"]) + "/)" + hl_path