From dc1f156025246745d80382fe0e5a069bcce6ec85 Mon Sep 17 00:00:00 2001 From: yuuki <> Date: Sun, 24 Nov 2024 02:04:03 +0000 Subject: [PATCH] =?UTF-8?q?uid=E3=81=AE=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 393a1d1..e8c848d 100644 --- a/app.py +++ b/app.py @@ -22,7 +22,7 @@ def ip_to_uid(ip: Optional[str]) -> str: if not ip: return "-" - return b64encode(ip.encode("utf-8")).decode("utf-8")[:11] + return b64encode(ip.encode("utf-8")).decode("utf-8")[-11:] def replace_ng_words(src: str, ng_words: List[str]) -> str: result = src