mirror of
https://github.com/krestaino/sptnr.git
synced 2026-06-13 06:19:32 -04:00
refactor: tqdm unit
This commit is contained in:
@@ -437,7 +437,7 @@ else:
|
|||||||
logging.info(f"Total artists to process: {LIGHT_GREEN}{total_count}{RESET}")
|
logging.info(f"Total artists to process: {LIGHT_GREEN}{total_count}{RESET}")
|
||||||
|
|
||||||
for index, ARTIST_ENTRY in tqdm(
|
for index, ARTIST_ENTRY in tqdm(
|
||||||
enumerate(data_slice), total=total_count, leave=False
|
enumerate(data_slice), total=total_count, leave=False, unit="artist"
|
||||||
):
|
):
|
||||||
ARTIST_ID, ARTIST_NAME = ARTIST_ENTRY
|
ARTIST_ID, ARTIST_NAME = ARTIST_ENTRY
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user