diff options
Diffstat (limited to 'ATRI/utils/ub_paste.py')
-rw-r--r-- | ATRI/utils/ub_paste.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ATRI/utils/ub_paste.py b/ATRI/utils/ub_paste.py deleted file mode 100644 index 56b8261..0000000 --- a/ATRI/utils/ub_paste.py +++ /dev/null @@ -1,11 +0,0 @@ -from aiohttp import ClientSession - - -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://", "") - return result |