Update CI

This commit is contained in:
yoshiko2
2023-05-07 22:54:51 +08:00
parent 18f0298a48
commit 351a9c5afa
2 changed files with 6 additions and 10 deletions

View File

@@ -98,11 +98,3 @@ jobs:
touch IPX-292.mp4 touch IPX-292.mp4
touch STAR-437-C.mp4 touch STAR-437-C.mp4
./Movie_Data_Capture ./Movie_Data_Capture
- name: Run test (Windows)
if: matrix.os == 'windows-latest'
run: |
cd dist
ni IPX-292.mp4
ni STAR-437-C.mp4
./Movie_Data_Capture

View File

@@ -610,8 +610,12 @@ def main(args: tuple) -> Path:
oCC = None if ccm == 0 else OpenCC('t2s' if ccm == 1 else 's2t') oCC = None if ccm == 0 else OpenCC('t2s' if ccm == 1 else 's2t')
if not search == '': if not search == '':
json_data = get_data_from_json(search, oCC, None, None) search_list = search.split(",")
debug_print(json_data) for i in search_list:
json_data = get_data_from_json(i, oCC, None, None)
debug_print(json_data)
time.sleep(int(config.getInstance().sleep()))
os._exit(0)
if not single_file_path == '': # Single File if not single_file_path == '': # Single File
print('[+]==================== Single File =====================') print('[+]==================== Single File =====================')