From fca743aa86bf68d96e1149531ce9980f20e94f3e Mon Sep 17 00:00:00 2001 From: yoshiko2 Date: Fri, 13 May 2022 01:58:14 +0800 Subject: [PATCH] Fix NFO file actor output error --- core.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core.py b/core.py index 03d9cc3..aebcf86 100644 --- a/core.py +++ b/core.py @@ -369,7 +369,10 @@ def print_files(path, leak_word, c_word, naming_rule, part, cn_sub, json_data, f print(" ", file=code) print(" " + key + "", file=code) print(" Protagonist", file=code) - print(" " + actor_photo.get(str(key)) + "", file=code) + try: + print(" " + actor_photo.get(str(key)) + "", file=code) + except: + pass print(" ", file=code) except: aaaa = ''