Closed littleyoda closed 3 years ago
p = PicnicAPI("XXXX","XXX",'de')
even if I select "de" as the country, he tries to connect to "nl". A correction below, but I'm not sure it's the right approach. Therefore no PR.
--- a/python_picnic_api/client.py +++ b/python_picnic_api/client.py @@ -13,7 +13,7 @@ class PicnicAPI: self._username = username self._password = password self._base_url = _url_generator( - DEFAULT_URL, DEFAULT_COUNTRY_CODE, DEFAULT_API_VERSION + DEFAULT_URL, country_code, DEFAULT_API_VERSION ) self.session = PicnicAPISession()
Oops thats a stupid error from my side, I'll fix it tomorrow! Thanks for spotting the issue.
p = PicnicAPI("XXXX","XXX",'de')
even if I select "de" as the country, he tries to connect to "nl". A correction below, but I'm not sure it's the right approach. Therefore no PR.