Skip to content

Commit

Permalink
Merge pull request #30 from soloam/fix_budget_limits
Browse files Browse the repository at this point in the history
fix: empty budget limits
  • Loading branch information
soloam authored May 21, 2024
2 parents 2d0a0d1 + 77ccac4 commit 629a30d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ async def budgets(self, ids=None, currency=None) -> FireflyiiiObjectBaseList:
try:
start_limit = datetime.fromisoformat(limit_attributes.get("start"))
end_limit = datetime.fromisoformat(limit_attributes.get("end"))
except ValueError:
except (ValueError, TypeError):
start_limit = None
end_limit = None

Expand Down

0 comments on commit 629a30d

Please sign in to comment.