diff --git a/src/ebook/extract_book_code.py b/src/ebook/extract_book_code.py index 533f0d52a2414ea1d5613d23035102de7410c0f5..7692eeafdbb074760e02b1afcec06f334cee0512 100644 --- a/src/ebook/extract_book_code.py +++ b/src/ebook/extract_book_code.py @@ -135,8 +135,8 @@ def extract_code(book_mapping): res_code_list.append(clean_line) res_code = '\n'.join(res_code_list) - with open(code_save_path, 'w', encoding='utf-8') as f: - f.write(res_code) + # with open(code_save_path, 'w', encoding='utf-8') as f: + # f.write(res_code) # clean_text_list = [] # for line in res_str.split('\n'):