From 346163906b4fffe7b95d18e59e99093c7175cf6a Mon Sep 17 00:00:00 2001 From: yoshiko2 Date: Wed, 1 Jun 2022 22:21:16 +0800 Subject: [PATCH] Add output `series` in `` in nfo --- core.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core.py b/core.py index 18b59e2..5637803 100644 --- a/core.py +++ b/core.py @@ -337,8 +337,10 @@ def print_files(path, leak_word, c_word, naming_rule, part, cn_sub, json_data, f print(" ", file=code) print(" JP-18+", file=code) print(" JP-18+", file=code) - print(" ", file=code) - print(" ", file=code) + try: + print(" " + series + "", file=code) + except: + print(" ", file=code) print(" " + studio + "", file=code) print(" " + year + "", file=code) print(" ", file=code)