From cb3753cb619b5a35d2e44b083bf30bb1fe7af12e Mon Sep 17 00:00:00 2001 From: ColdWindScholar <3590361911@qq.com> Date: Fri, 26 Jul 2024 19:00:51 +0800 Subject: [PATCH] [Normal] Update Some Code --- imgextractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgextractor.py b/imgextractor.py index 5ef2e18..3ff91d9 100644 --- a/imgextractor.py +++ b/imgextractor.py @@ -96,7 +96,7 @@ def scan_dir(root_inode, root_path=""): for entry_name, entry_inode_idx, entry_type in root_inode.open_dir(): if entry_name in ['.', '..'] or entry_name.endswith(' (2)'): continue - if self.error_times >= 3: + if self.error_times >= 200: print("Some thing wrong,Stop!") break entry_inode = root_inode.volume.get_inode(entry_inode_idx, entry_type)