Fix NFO file actor output error
This commit is contained in:
3
core.py
3
core.py
@@ -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(" <actor>", file=code)
|
||||||
print(" <name>" + key + "</name>", file=code)
|
print(" <name>" + key + "</name>", file=code)
|
||||||
print(" <role>Protagonist</role>", file=code)
|
print(" <role>Protagonist</role>", file=code)
|
||||||
|
try:
|
||||||
print(" <thumb>" + actor_photo.get(str(key)) + "</thumb>", file=code)
|
print(" <thumb>" + actor_photo.get(str(key)) + "</thumb>", file=code)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
print(" </actor>", file=code)
|
print(" </actor>", file=code)
|
||||||
except:
|
except:
|
||||||
aaaa = ''
|
aaaa = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user