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)