Skip to content

Commit

Permalink
pylint: auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
buddhhu committed Aug 14, 2023
1 parent 9bf0bf1 commit 441fe75
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions plugins/paste.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
import os
#import ssl

#import certifi

from . import LOGS, asst, fetch, ultroid_cmd

# import ssl

# import certifi



async def get_paste(data: str, extension: str = "txt"):
#ssl_context = ssl.create_default_context(cafile=certifi.where())
# ssl_context = ssl.create_default_context(cafile=certifi.where())
json = {"content": data, "extension": extension}
key = await fetch(
url="https://spaceb.in/api/v1/documents/",
json=json,
#ssl=ssl_context,
# ssl=ssl_context,
method="POST",
re_json=True,
)
Expand Down

0 comments on commit 441fe75

Please sign in to comment.