Skip to content

Commit

Permalink
Update pbincli dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdaemon committed Apr 9, 2024
1 parent f2ff4a3 commit b0eef27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cloudbot/util/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,9 @@ def paste(self, data, ext):
class PrivateBin(Pastebin):
def __init__(self, url):
super().__init__()
self.api_client = pb_api.PrivateBin(url)
self.api_client = pb_api.PrivateBin(
str(url), {'proxy': '', 'nocheckcert': False, 'noinsecurewarn': False}
)

def paste(self, data, ext, password=None, expire='1day'):
if ext in ('txt', 'text'):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
attrs == 23.2.0
beautifulsoup4 == 4.12.3
git+https://github.com/r4sas/PBinCLI.git
isodate == 0.6.1
lxml == 5.1.0
multidict == 6.0.5
PBinCLI == 0.2
psutil == 5.9.8
py-irclib == 0.3.0
requests == 2.31.0
Expand Down

0 comments on commit b0eef27

Please sign in to comment.