DawnC commited on
Commit
3260820
1 Parent(s): ab96cef

Update scoring_calculation_system.py

Browse files
Files changed (1) hide show
  1. scoring_calculation_system.py +1 -1
scoring_calculation_system.py CHANGED
@@ -1353,7 +1353,7 @@ def calculate_compatibility_score(breed_info: dict, user_prefs: UserPreferences)
1353
  try:
1354
  noise_score = calculate_noise_score(
1355
  breed_info.get('Breed', ''),
1356
- user_prefs.noise_tolerance
1357
  )
1358
  print(f"噪音分數計算結果: {noise_score}")
1359
  except Exception as e:
 
1353
  try:
1354
  noise_score = calculate_noise_score(
1355
  breed_info.get('Breed', ''),
1356
+ user_prefs
1357
  )
1358
  print(f"噪音分數計算結果: {noise_score}")
1359
  except Exception as e: