From 9389353b516f819aacee5cdb2469110ca01f8db4 Mon Sep 17 00:00:00 2001 From: koksnuss Date: Mon, 11 May 2020 10:42:50 +0200 Subject: [PATCH] remove debug stuff --- coinmanager/coinc/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/coinmanager/coinc/views.py b/coinmanager/coinc/views.py index 9bd1899..e04c88d 100644 --- a/coinmanager/coinc/views.py +++ b/coinmanager/coinc/views.py @@ -277,10 +277,8 @@ def add_coin(request): found_on = request.POST['found_on'] if request.POST['found_on'] else None if found_on: try: - print(f"found_on before: {found_on}") found_on = datetime.strptime(found_on, '%d.%m.%Y') found_on = found_on.strftime('%Y-%m-%d') - print(f"found_on after: {found_on}") except ValueError: status = 1 message = f"Das Datum '{found_on}' entspricht nicht dem Format DD.MM.YYYY"