summaryrefslogtreecommitdiff
path: root/ATRI/utils/ub_paste.py
diff options
context:
space:
mode:
authorLint Action <[email protected]>2021-05-04 06:09:42 +0000
committerLint Action <[email protected]>2021-05-04 06:09:42 +0000
commit07a7e41f72cfa9dfd207a04445f4aa5b0b6fa3ce (patch)
treeb02c1b4e674acf6f56cf7335ad05acd0523af91c /ATRI/utils/ub_paste.py
parent8e94b4cd4aea1943a9639b900e33fe0fa1de5bb8 (diff)
downloadATRI-07a7e41f72cfa9dfd207a04445f4aa5b0b6fa3ce.tar.gz
ATRI-07a7e41f72cfa9dfd207a04445f4aa5b0b6fa3ce.tar.bz2
ATRI-07a7e41f72cfa9dfd207a04445f4aa5b0b6fa3ce.zip
:rotating_light: 自动进行代码格式化
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 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