diff --git a/core.py b/core.py
index d3679f1..f7cb5ba 100644
--- a/core.py
+++ b/core.py
@@ -354,16 +354,16 @@ def print_files(path, leak_word, c_word, naming_rule, part, cn_sub, json_data, f
print(" " + release + "", file=code)
print(" " + release + "", file=code)
print(" " + release + "", file=code)
- if 'userrating' in json_data:
- try:
- strrating = json_data['userrating']
- userrating = round(float(strrating) * 2.0)
- print(f" {userrating}", file=code)
- print(f" {userrating}", file=code)
- rating_score = round(float(strrating) * 20.0, 1)
- print(f" {rating_score:.1f}", file=code)
- except:
- pass
+ try:
+ strrating = json_data['userrating']
+ userrating = round(float(strrating) * 2.0)
+ print(f" {userrating}", file=code)
+ rating = round(float(strrating) * 2.0, 1)
+ print(f" {rating}", file=code)
+ rating_score = round(float(strrating) * 20.0, 1)
+ print(f" {rating_score}", file=code)
+ except:
+ pass
print(" " + cover + "", file=code)
if config.getInstance().is_trailer():
print(" " + trailer + "", file=code)