diff --git a/libraries/entropy/tools.py b/libraries/entropy/tools.py index 9c69858be..d103fcf0a 100644 --- a/libraries/entropy/tools.py +++ b/libraries/entropy/tools.py @@ -834,7 +834,7 @@ def extract_edb(tbz2file, dbpath = None): give_up_threshold = 1024000 * 30 # 30Mb entry_point = db_tag[::-1][0] written = False - max_read_len = db_tag_len - 1 + max_read_len = 8 while counter >= 0: cur_threshold = abs((counter-bytes)) @@ -905,7 +905,7 @@ def extract_edb(tbz2file, dbpath = None): db_tmp.close() db.flush() db.close() - os.remove(db_tmp_path) + #os.remove(db_tmp_path) return dbpath def remove_edb(tbz2file, savedir):