mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-12-27 12:20:12 +00:00
fix filesysem rescan function
This commit is contained in:
parent
b68a00073f
commit
3ba6e0478d
@ -52,7 +52,6 @@ class PendingIndex:
|
||||
|
||||
def get_indexed(self):
|
||||
"""get a list of all videos indexed"""
|
||||
self.all_videos = []
|
||||
data = {
|
||||
"query": {"match_all": {}},
|
||||
"sort": [{"published": {"order": "desc"}}],
|
||||
|
@ -59,6 +59,7 @@ class FilesystemScanner:
|
||||
def get_all_indexed():
|
||||
"""get a list of all indexed videos"""
|
||||
index_handler = PendingList()
|
||||
index_handler.get_download()
|
||||
index_handler.get_indexed()
|
||||
|
||||
all_indexed = []
|
||||
|
Loading…
Reference in New Issue
Block a user