Skip to content

Commit

Permalink
new country and currency fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 16, 2016
1 parent c00126a commit 0dec149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/budy/base.py
Expand Up @@ -87,8 +87,8 @@ def build(
):
auth = kwargs.pop("auth", True)
if auth: kwargs["session_id"] = self.get_session_id()
headers["BD-Country"] = kwargs.pop("country", self.country)
headers["BD-Currency"] = kwargs.pop("currency", self.currency)
headers["X-Budy-Country"] = kwargs.pop("country", self.country)
headers["X-Budy-Currency"] = kwargs.pop("currency", self.currency)

def get_session_id(self):
if self.session_id: return self.session_id
Expand Down

0 comments on commit 0dec149

Please sign in to comment.