Skip to content

Commit

Permalink
Remove regression which breaks behaviour of PurchaseOrders, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
blaise committed Sep 29, 2023
1 parent 39905aa commit ec6bdd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xero/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def __init__(self, name, credentials, unit_price_4dps=False, user_agent=None):
from xero import __version__ as VERSION # noqa

self.credentials = credentials
self.name = name.capitalize()
self.name = name.capitalize() if name.islower() else name
self.base_url = credentials.base_url + XERO_API_URL
self.extra_params = {"unitdp": 4} if unit_price_4dps else {}
self.singular = singular(name)
Expand Down

0 comments on commit ec6bdd1

Please sign in to comment.