From 8804f1e10d507ba293fafc77a7e93d3a84a5814b Mon Sep 17 00:00:00 2001 From: Lint Action Date: Tue, 4 May 2021 06:29:07 +0000 Subject: =?UTF-8?q?:rotating=5Flight:=20=E8=87=AA=E5=8A=A8=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 c029afe..56b8261 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