1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-20 05:49:40 +02:00
This commit is contained in:
dbarzin 2023-02-22 22:31:31 +01:00
parent f693c8a263
commit 3fdbdef000

View file

@ -388,11 +388,10 @@ class PandoraBox:
time.sleep(0.1)
status = "SKIPPED"
else:
# do not scan files bigger than 1G
if file_size > (1024*1024*1024):
status = "TOO BIG"
else:
self._log(f'-> [{full_path}]')
logging.info(f'scan=[{full_path}]')
res = pandora.submit_from_disk(full_path)
time.sleep(0.1)
loop = 0