1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 13:29:42 +02:00
This commit is contained in:
didier 2025-04-16 17:04:16 +02:00
parent 986bd7bfb3
commit c73013cc32

View file

@ -96,7 +96,7 @@ class scanThread(threading.Thread):
time.sleep(1)
def scan(self, file):
global infected_files, scanned, file_count, used
global infected_files, scanned, file_count, f_used
logging.info(f"Start scan.")
try:
# get file information
@ -172,7 +172,7 @@ class scanThread(threading.Thread):
queue_lock.release()
# update status bar
update_bar(scanned * 100 // used)
update_bar(scanned * 100 // f_used)
if has_quarantine and status == "ALERT":
if not os.path.isdir(qfolder):