From aa659bd383cd91a58c3e3f134857952f8b4a8a38 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sat, 30 Oct 2021 12:49:57 +0200 Subject: [PATCH] =?UTF-8?q?ignore=20','=20in=20cli-input=20(allow=20e.g.?= =?UTF-8?q?=2050,000=E2=82=AC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- meuro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meuro.py b/meuro.py index e37f8ad..8be438a 100755 --- a/meuro.py +++ b/meuro.py @@ -80,7 +80,7 @@ def _extractDate(s): def cliInterface(): import sys, re - arg = " ".join(sys.argv[1:]) + arg = " ".join(sys.argv[1:]).replace(',','') reFromEur = re.compile(r'(\d+(.\d\d)?)\W?(€|e|E)') reFromMeur = re.compile(r'(\d+(.\d\d)?)\W?(μ|m|M)') if (m := reFromEur.search(arg))!=None: