mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-20 13:59:40 +02:00
logs
This commit is contained in:
parent
f693c8a263
commit
3fdbdef000
1 changed files with 1 additions and 2 deletions
|
@ -388,11 +388,10 @@ class PandoraBox:
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
status = "SKIPPED"
|
status = "SKIPPED"
|
||||||
else:
|
else:
|
||||||
|
# do not scan files bigger than 1G
|
||||||
if file_size > (1024*1024*1024):
|
if file_size > (1024*1024*1024):
|
||||||
status = "TOO BIG"
|
status = "TOO BIG"
|
||||||
else:
|
else:
|
||||||
self._log(f'-> [{full_path}]')
|
|
||||||
logging.info(f'scan=[{full_path}]')
|
|
||||||
res = pandora.submit_from_disk(full_path)
|
res = pandora.submit_from_disk(full_path)
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
loop = 0
|
loop = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue