Browse Source

fix type hint

Nick Sweeting 1 year ago
parent
commit
b789be098d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      archivebox/core/admin.py

+ 1 - 1
archivebox/core/admin.py

@@ -138,7 +138,7 @@ class AccelleratedPaginator(Paginator):
 
 
     @cached_property
     @cached_property
     def count(self):
     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
             # fallback to normal count method on filtered queryset
             return super().count
             return super().count
         else:
         else: