Site
Gitweb
Static
projects
/
bb-sync-api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec44278
)
Bug fix
author
Jakob
<jakob@jcornell.net>
Sun, 1 Dec 2019 00:15:17 +0000
(18:15 -0600)
committer
Jakob
<jakob@jcornell.net>
Sun, 1 Dec 2019 00:15:17 +0000
(18:15 -0600)
auth.py
patch
|
blob
|
history
diff --git
a/auth.py
b/auth.py
index e27cbd7db5e62706e079c11d7c82c719afb61132..db0fd7c95d49ca8fac4d01a3491a94ccb492540a 100644
(file)
--- a/
auth.py
+++ b/
auth.py
@@
-286,7
+286,7
@@
class CookieAuthHandler(urllib.request.HTTPCookieProcessor):
self.storage_mgr['username'] = username
self.storage_mgr['password'] = encode(password)
- url = self.bb_root.host + str(self.bb_root.path)
+ url =
'https://' +
self.bb_root.host + str(self.bb_root.path)
with self.parent.open(url) as resp:
soup = bs4.BeautifulSoup(resp, 'lxml')
[form] = soup.select('#login-form > form[name="login"]')