Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 16, 2024
1 parent 2100b19 commit 81b4eb0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions simple_history/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -965,9 +965,7 @@ def get_queryset(self, **hints):
None,
)
if history and histmgr:
return histmgr.as_of(
getattr(history, "_as_of", history.history_date)
)
return histmgr.as_of(getattr(history, "_as_of", history.history_date))
return super().get_queryset(**hints)


Expand Down

0 comments on commit 81b4eb0

Please sign in to comment.