1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-24 15:59:42 +02:00

add thread sample

This commit is contained in:
dbarzin 2023-03-03 21:36:34 +01:00
parent 9b46054494
commit 64b0ad73a9
2 changed files with 71 additions and 4 deletions

View file

@ -453,10 +453,10 @@ class PandoraBox:
time.sleep(0.01)
# update status
self._log_msg(
f'Scan {file} '
f'[{self._human_readable_size(file_size)}] '
"." * (int(time.time() - file_scan_start_time) // 4))
# self._log_msg(
# f'Scan {file} '
# f'[{self._human_readable_size(file_size)}] '
# "." * (int(time.time() - file_scan_start_time)))
loop += 1
file_scan_end_time = time.time()