Skip to content

Commit

Permalink
Type algorithm int values as float
Browse files Browse the repository at this point in the history
  • Loading branch information
copalco committed Aug 24, 2023
1 parent acb87b5 commit ca1df71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions falcon/vendor/mimeparse/mimeparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ def quality_and_fitness_parsed(
:rtype: (float,int)
"""
best_fitness = -1.0
best_fit_q = 0.0
best_fitness: float = -1
best_fit_q: float = 0
(target_type, target_subtype, target_params) = \
parse_media_range(mime_type)

Expand Down

0 comments on commit ca1df71

Please sign in to comment.