summaryrefslogtreecommitdiff
path: root/ATRI/utils/ub_paste.py
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2021-05-04 14:27:56 +0800
committerKyomotoi <[email protected]>2021-05-04 14:27:56 +0800
commitea7f48011c34fdaec7e91af7eb373c8174e439e6 (patch)
treee4f14eaacde37774d49e7f98ac1ff4635049d80a /ATRI/utils/ub_paste.py
parent07a7e41f72cfa9dfd207a04445f4aa5b0b6fa3ce (diff)
downloadATRI-ea7f48011c34fdaec7e91af7eb373c8174e439e6.tar.gz
ATRI-ea7f48011c34fdaec7e91af7eb373c8174e439e6.tar.bz2
ATRI-ea7f48011c34fdaec7e91af7eb373c8174e439e6.zip
✨🐛 更新
新增:老婆! 新增:涩图 修复:manage中出现的bug 优化:nsfw不再用float,换为int
Diffstat (limited to 'ATRI/utils/ub_paste.py')
-rw-r--r--ATRI/utils/ub_paste.py2
1 files changed, 1 insertions, 1 deletions
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