diff --git a/src/common/tools/comparison.py b/src/common/tools/comparison.py
index e736733..10c13aa 100644
--- a/src/common/tools/comparison.py
+++ b/src/common/tools/comparison.py
@@ -38,7 +38,7 @@ class Comparison:
         if kwargs.get('ocr_replace', False):
             ocr_str = ocr_str.replace('年', '-').replace('月', '-').replace('日', '')
         if kwargs.get('input_replace') is not None:
-            input_str = input_str.replace('-', kwargs.get('replace'))
+            input_str = input_str.replace('-', kwargs.get('input_replace'))
         return self.build_res(input_str == ocr_str)
 
     def rmb_compare(self, input_str, ocr_str, **kwargs):