diff --git a/pyroostermoney/const.py b/pyroostermoney/const.py index c6b2afa..16258a3 100644 --- a/pyroostermoney/const.py +++ b/pyroostermoney/const.py @@ -1,7 +1,7 @@ # pylint: disable=line-too-long """Static Rooster Money variables""" -VERSION="2023.9.0" +VERSION="2023.9.1" BASE_URL="https://api.rooster.money" OAUTH_TOKEN_URL="https://auth.rooster.money/oidc/token" LANGUAGE="en-GB" diff --git a/pyroostermoney/family_account.py b/pyroostermoney/family_account.py index d2c4040..ac64fe2 100644 --- a/pyroostermoney/family_account.py +++ b/pyroostermoney/family_account.py @@ -74,7 +74,7 @@ async def get_transaction_history(self, search_date: date = None): year=search_date.year ) ) - if search_date is date.today(): + if search_date == date.today(): self.current_month_transactions = self._parse_transaction_history(history) if len(self.current_month_transactions) > 0: self.latest_transaction = self.current_month_transactions[0] diff --git a/setup.py b/setup.py index 791c2ff..a46b39f 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup(name="pyroostermoney", - version="2023.9.0", + version="2023.9.1", description="A RoosterMoney integration for Python.", url="https://github.com/pantherale0/pyroostermoney", author="pantherale0",