Compare commits
No commits in common. "af5839116426f978ccdf4e37739a9ddc4fa401f8" and "a586960ae62d6395396d449c2f4deff3944c3095" have entirely different histories.
af58391164
...
a586960ae6
3 changed files with 2 additions and 5 deletions
|
|
@ -20,9 +20,6 @@ class HappyDomain:
|
|||
self.baseurl = scheme + "://" + host + ":" + str(port) + baseurl
|
||||
self.token = token
|
||||
|
||||
if self.token is not None:
|
||||
self.session.headers.update({'Authorization': 'Bearer ' + self.token})
|
||||
|
||||
def login(self, username, password):
|
||||
r = self.session.post(
|
||||
self.baseurl + "/api/auth",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "happydomain"
|
||||
version = "0.2.0"
|
||||
version = "0.1.1"
|
||||
authors = [
|
||||
{ name="happyDomain's team", email="contact+pypi@happydomain.org" },
|
||||
]
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -8,7 +8,7 @@ try:
|
|||
except ImportError:
|
||||
from distutils.core import setup
|
||||
|
||||
version = "0.2.0"
|
||||
version = "0.1.0"
|
||||
|
||||
setup(
|
||||
name = "happydomain",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue