Skip to content

Commit

Permalink
fixup! Enable export of non-attributable transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
FestplattenSchnitzel committed Mar 16, 2024
1 parent da1796f commit ec51490
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pycroft/lib/finance/retransfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ def get_activities_to_return() -> Sequence[BankAccountActivity]:
.options(joinedload(BankAccountActivity.bank_account))
.filter(BankAccountActivity.transaction_id.is_(None))
.filter(BankAccountActivity.amount > 0)
.filter(BankAccountActivity.imported_at < ensure_tz(datetime.utcnow() - timedelta(days=14))
)
.filter(BankAccountActivity.imported_at < ensure_tz(datetime.utcnow() - timedelta(days=14)))
)

return session.session.scalars(statement).all()
Expand Down

0 comments on commit ec51490

Please sign in to comment.