From 2483a9fc2f015c6596efc1c3c704c5efc9c2c3f6 Mon Sep 17 00:00:00 2001 From: Deng Zhou <553531284@qq.com> Date: Thu, 6 Jan 2022 01:28:53 +0800 Subject: [PATCH] fix --- core.py | 10 +++++----- py_to_exe.ps1 | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core.py b/core.py index fd0e6d6..99ce6bb 100644 --- a/core.py +++ b/core.py @@ -290,17 +290,17 @@ def print_files(path, leak_word, c_word, naming_rule, part, cn_sub, json_data, f with open(nfo_path, "wt", encoding='UTF-8') as code: print('', file=code) print("", file=code) - print(" " + naming_rule + "", file=code) - print(" " + naming_rule + "", file=code) - print(" " + naming_rule + "", file=code) + print(" <![CDATA[" + naming_rule + "]]>", file=code) + print(" ", file=code) + print(" ", file=code) print(" JP-18+", file=code) print(" JP-18+", file=code) print(" ", file=code) print(" ", file=code) print(" " + studio + "", file=code) print(" " + year + "", file=code) - print(" " + outline + "", file=code) - print(" " + outline + "", file=code) + print(" ", file=code) + print(" ", file=code) print(" " + str(runtime).replace(" ", "") + "", file=code) print(" " + director + "", file=code) print(" " + number + leak_word + c_word + hack_word + "-poster.jpg", file=code) diff --git a/py_to_exe.ps1 b/py_to_exe.ps1 index f45e98d..0fbe735 100644 --- a/py_to_exe.ps1 +++ b/py_to_exe.ps1 @@ -7,7 +7,7 @@ $OPENCC_PATH=$(python -c 'import opencc as _; print(_.__path__[0])' | select -La mkdir build mkdir __pycache__ -pyinstaller --onefile AV_Data_Capture.py ` +pyinstaller --onefile Movie_Data_Capture.py ` --hidden-import ADC_function.py ` --hidden-import core.py ` --add-data "$CLOUDSCRAPER_PATH;cloudscraper" `