mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-02-20 00:56:07 +08:00
fix type hint
This commit is contained in:
parent
f9ca7fe717
commit
b789be098d
@ -138,7 +138,7 @@ class AccelleratedPaginator(Paginator):
|
||||
|
||||
@cached_property
|
||||
def count(self):
|
||||
if self.object_list._has_filters():
|
||||
if self.object_list._has_filters(): # type: ignore
|
||||
# fallback to normal count method on filtered queryset
|
||||
return super().count
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user