From ea7f48011c34fdaec7e91af7eb373c8174e439e6 Mon Sep 17 00:00:00 2001 From: Kyomotoi <1172294279@qq.com> Date: Tue, 4 May 2021 14:27:56 +0800 Subject: =?UTF-8?q?=E2=9C=A8=F0=9F=90=9B=20=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增:老婆! 新增:涩图 修复:manage中出现的bug 优化:nsfw不再用float,换为int --- ATRI/utils/ub_paste.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ATRI/utils/ub_paste.py') diff --git a/ATRI/utils/ub_paste.py b/ATRI/utils/ub_paste.py index 56b8261..c029afe 100644 --- a/ATRI/utils/ub_paste.py +++ b/ATRI/utils/ub_paste.py @@ -7,5 +7,5 @@ URL = "https://paste.ubuntu.com/" async def paste(form_data) -> str: async with ClientSession() as session: async with session.post(url=URL, data=form_data) as r: - result = str(r.url).replace("https://", "") + result = str(r.url).replace('https://', '') return result -- cgit v1.2.3