Skip to content

Commit

Permalink
Set default locale to None.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarp committed Jul 12, 2014
1 parent 2be96e8 commit 8d81d23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ output/*.html
output/*/index.html

# Sphinx
docs/_build
docs/_build
9 changes: 5 additions & 4 deletions betfair/betfair.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def logout(self):
# Bet query methods

@utils.requires_login
def list_event_types(self, filter, locale):
def list_event_types(self, filter, locale=None):
"""
:param MarketFilter filter:
Expand All @@ -126,7 +126,7 @@ def list_event_types(self, filter, locale):
)

@utils.requires_login
def list_competitions(self, filter, locale):
def list_competitions(self, filter, locale=None):
"""
:param MarketFilter filter:
Expand Down Expand Up @@ -154,7 +154,7 @@ def list_time_ranges(self, filter, granularity):
)

@utils.requires_login
def list_events(self, filter, locale):
def list_events(self, filter, locale=None):
"""
:param MarketFilter filter:
Expand All @@ -168,7 +168,7 @@ def list_events(self, filter, locale):
)

@utils.requires_login
def list_market_types(self, filter, locale):
def list_market_types(self, filter, locale=None):
"""
:param MarketFilter filter:
Expand Down Expand Up @@ -411,3 +411,4 @@ def update_orders(self, market_id, instructions, customer_ref=None):
utils.get_kwargs(locals()),
model=models.UpdateExecutionReport,
)

0 comments on commit 8d81d23

Please sign in to comment.