From 04aefc246240faf1f980d749e3fb566948fa277a Mon Sep 17 00:00:00 2001 From: DrTransmisia <95589613+DrTransmisia@users.noreply.github.com> Date: Wed, 11 May 2022 19:49:27 +0200 Subject: [PATCH] worst asymptotic behavior (#259) * ditched the log search in favor of the polynomial search otherwise poor carp can't search for xis boyfriend marseysamhyde querying "hyde" and instead of properly tag it ["sam", "hyde"] I had to ditch the search alg made in the image of G-d * le new line * anton-d on all dramaverse --- files/routes/static.py | 2 +- files/templates/emoji_modal.html | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index bb0f4e6f2..122397306 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -35,7 +35,7 @@ def marsey_list(): # From database emojis = [{ "name": emoji.name, - "author": author if SITE_NAME == 'rDrama' else None, + "author": author if SITE_NAME == 'rDrama' or author == "anton-d" else None, # yikes, I don't really like this DB schema. Next time be better "tags": emoji.tags.split(" ") + [emoji.name[len("marsey"):] if emoji.name.startswith("marsey") else emoji.name], "count": emoji.count, diff --git a/files/templates/emoji_modal.html b/files/templates/emoji_modal.html index 7e41bf92c..0414885f3 100644 --- a/files/templates/emoji_modal.html +++ b/files/templates/emoji_modal.html @@ -57,6 +57,13 @@ +
+