|
|
@@ -102,7 +102,7 @@ class CardScorer:
|
|
|
# 初次修改
|
|
|
# if defect["score"] != the_score:
|
|
|
# logger.info(f"初次修改 -> new_score: {the_score} (原score: {defect['score']})")
|
|
|
- if defect.get("edit_type") == "edit":
|
|
|
+ if defect.get("edit_type") == "edit" or defect.get("edit_type") == "add":
|
|
|
defect["new_score"] = the_score
|
|
|
|
|
|
elif "score" in defect and defect["new_score"] is not None:
|