Compare commits

..

No commits in common. "af5839116426f978ccdf4e37739a9ddc4fa401f8" and "a586960ae62d6395396d449c2f4deff3944c3095" have entirely different histories.

3 changed files with 2 additions and 5 deletions

View File

@ -20,9 +20,6 @@ class HappyDomain:
self.baseurl = scheme + "://" + host + ":" + str(port) + baseurl self.baseurl = scheme + "://" + host + ":" + str(port) + baseurl
self.token = token self.token = token
if self.token is not None:
self.session.headers.update({'Authorization': 'Bearer ' + self.token})
def login(self, username, password): def login(self, username, password):
r = self.session.post( r = self.session.post(
self.baseurl + "/api/auth", self.baseurl + "/api/auth",

View File

@ -1,6 +1,6 @@
[project] [project]
name = "happydomain" name = "happydomain"
version = "0.2.0" version = "0.1.1"
authors = [ authors = [
{ name="happyDomain's team", email="contact+pypi@happydomain.org" }, { name="happyDomain's team", email="contact+pypi@happydomain.org" },
] ]

View File

@ -8,7 +8,7 @@ try:
except ImportError: except ImportError:
from distutils.core import setup from distutils.core import setup
version = "0.2.0" version = "0.1.0"
setup( setup(
name = "happydomain", name = "happydomain",