Skip to content

Commit

Permalink
Removing int conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Filienko committed Jul 19, 2024
1 parent cd1e00d commit 07aff15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isacc_messaging/api/isacc_record_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def score_message(self, message):
level='info'
)

score = int(response.json().get('score'))
score = response.json().get('score')
if score == 1:
return "stat"
except Exception as e:
Expand Down

0 comments on commit 07aff15

Please sign in to comment.