From e5566344930891c0f710e736fa6ffc8ac72b1221 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 12 Oct 2012 17:44:49 +0200 Subject: [PATCH] fix time handling --- db_add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_add.py b/db_add.py index a9f42c9..cfa7521 100755 --- a/db_add.py +++ b/db_add.py @@ -29,7 +29,7 @@ def db_add_job(con, name): #logger.debug("INSERT INTO jenkins_job(name) VALUES('%s')" % (name)) return cur.fetchone()[0] -def harmonize_timeformat(time) +def harmonize_timeformat(time): if time != 'NULL': if time.isdigit(): time = "to_timestamp('%s')" % time -- 2.39.5