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:
parent
9b46054494
commit
64b0ad73a9
2 changed files with 71 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue