From 5702811203e21f9d075a43d308b87c68de9b82fd Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sat, 30 Oct 2021 13:12:36 +0200 Subject: [PATCH] Fixed huge bug: Calcs were wrong --- meuro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meuro.py b/meuro.py index 8be438a..d208e5e 100755 --- a/meuro.py +++ b/meuro.py @@ -94,7 +94,7 @@ def cliInterface(): meurS = m.groups()[0] date = _extractDate(arg.replace(meurS, '-')) meur = float(meurS) - eur = euroToMeuro(meur, date) + eur = meuroToEuro(meur, date) print('Exchange rate for '+date.strftime("%d.%m.%Y at %H:%M")+':') print(f'{meur:.2f}µ = {eur:.2f}€') else: