Fix NFO file actor output error

This commit is contained in:
yoshiko2
2022-05-13 01:58:14 +08:00
parent cff10438dc
commit fca743aa86

View File

@@ -369,7 +369,10 @@ def print_files(path, leak_word, c_word, naming_rule, part, cn_sub, json_data, f
print(" <actor>", file=code)
print(" <name>" + key + "</name>", file=code)
print(" <role>Protagonist</role>", file=code)
print(" <thumb>" + actor_photo.get(str(key)) + "</thumb>", file=code)
try:
print(" <thumb>" + actor_photo.get(str(key)) + "</thumb>", file=code)
except:
pass
print(" </actor>", file=code)
except:
aaaa = ''