use scandir to read dir content on file explorer (#64)

This commit is contained in:
Mungai Geoffrey
2022-06-07 11:26:55 +03:00
committed by GitHub
parent 892a090ed5
commit 824d3c6a86
9 changed files with 150 additions and 71 deletions
-2
View File
@@ -60,10 +60,8 @@ def find_album(albums: List[models.Album], hash: str) -> int | None:
left = 0
right = len(albums) - 1
iter = 0
while left <= right:
iter += 1
mid = (left + right) // 2
try: