From fae9d8e82e0bffd1a576859f4a55762ceba827c1 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 9 Aug 2018 20:41:45 -0400 Subject: [PATCH] Made paths even more truncated --- od_db_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/od_db_client.py b/od_db_client.py index 41e9497..48c4f3a 100644 --- a/od_db_client.py +++ b/od_db_client.py @@ -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