From c0197c0812f9b92590deda9fc5593a28cacd7e70 Mon Sep 17 00:00:00 2001 From: agp8x Date: Thu, 23 Oct 2014 21:33:48 +0200 Subject: [PATCH] fixed deletions --- timeFunctions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/timeFunctions.py b/timeFunctions.py index 6f99ffd..871fad9 100644 --- a/timeFunctions.py +++ b/timeFunctions.py @@ -21,8 +21,8 @@ def preptime(): day = "0" + str(day) else: day = str(day) - if( month < 10: - month = "0" str(month) + if month < 10: + month = "0" + str(month) else: month = str(month) return month + "." + day + "." + year