From 405e85f612ace66828be150bc7d6b02022746167 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 5 Jan 2009 11:34:32 +0000 Subject: [PATCH] bugfix --- PLC/Methods/UpdateSlice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PLC/Methods/UpdateSlice.py b/PLC/Methods/UpdateSlice.py index 53299bb..005f525 100644 --- a/PLC/Methods/UpdateSlice.py +++ b/PLC/Methods/UpdateSlice.py @@ -130,6 +130,6 @@ class UpdateSlice(Method): else: self.message='Slice %d updated'%slice['slice_id'] if renewing: - self.message += ' renewed until %s'%time.strftime('%Y-%m-%d:%H:%M',time.localtime(slice['expires'])) + self.message += ' renewed until %s'%time.strftime('%Y-%m-%d:%H:%M',time.localtime(float(slice['expires']))) return 1 -- 2.43.0