From daedb2b657bd7dc896f97942b932a29d41d02c4d Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Sat, 28 Nov 2015 03:11:42 +0100 Subject: [PATCH] =?UTF-8?q?Bug=20signal=C3=A9=20par=20remi=20et=20mathilde?= =?UTF-8?q?=20concernant=20les=20blacklistes=20dans=20le=20futur,=20du=20?= =?UTF-8?q?=C3=A0=20du=20mauvais=20cp/cl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/dialog/blacklist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/dialog/blacklist.py b/gestion/dialog/blacklist.py index a3db7af0..777dd699 100644 --- a/gestion/dialog/blacklist.py +++ b/gestion/dialog/blacklist.py @@ -149,7 +149,7 @@ class Dialog(lc.Dialog): fin_tuple = self.get_timestamp(title=title, text="Choisir la date de fin :", cont=self_cont(bl=bl, tag=tag, bl_type=bl_type, debut=None, fin=None, comm=None)) - fin = int(time.mktime(time.struct_time(debut_tuple + (0, 0, -1)))) + fin = int(time.mktime(time.struct_time(fin_tuple + (0, 0, -1)))) else: fin = '-' bl['debut']=debut