Skip to content

Commit

Permalink
Fixed import error.
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisjake authored Jan 22, 2024
1 parent a3e1d70 commit 0b07a1e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions currency_tool/converter.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from typing import List
from decimal import Decimal


from _currency_table_builder import _CurrencyTableBuilder
from currency_tool._currency_table_builder import _CurrencyTableBuilder


class CurrencyConverter:
Expand All @@ -21,4 +20,4 @@ def convert(self, amount: Decimal, currency_in: str, currency_out: str, date: st
if currency_out == 'JPY':
return converted_amount.quantize(Decimal('0'))

return converted_amount.quantize(Decimal('0.00'))
return converted_amount.quantize(Decimal('0.00'))

0 comments on commit 0b07a1e

Please sign in to comment.