mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
use scandir to read dir content on file explorer (#64)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user