Skip to content

Commit

Permalink
fix types running_sum
Browse files Browse the repository at this point in the history
  • Loading branch information
madanalogy committed Nov 13, 2023
1 parent 0ece0ac commit d626cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def run_add(chat_id, text):
if not is_valid_amount(owed):
return constants.ERROR_PRECONDITION
owed_amounts[parsed[0].strip()] = float(owed)
running_sum += owed
running_sum += float(owed)
else:
owed_amounts[parsed[0].strip()] = 0
split_count += 1
Expand Down

0 comments on commit d626cd1

Please sign in to comment.