Skip to content

Commit

Permalink
set headers to none
Browse files Browse the repository at this point in the history
  • Loading branch information
craigjmidwinter committed Dec 28, 2018
1 parent 536187e commit 8241f00
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyowlet/PyOwlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ def __init__(self, username, password):
self.username = username
self.password = password
self.headers = None
self.auth_header = {'content-type': 'application/json',
'accept': 'application/json',
'Authorization': 'auth_token'}
self.auth_header = None

self.auth_token = self.login(username, password)
self.dsn = self.get_dsn()
Expand Down

0 comments on commit 8241f00

Please sign in to comment.