From fe3dfb6b0cbbc15f040721a2d329e86267d45ff5 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Thu, 12 Apr 2012 17:21:42 -0400 Subject: [PATCH] CC-3635: Pypo needs subsecond accuracy for start time -Done --- python_apps/pypo/pypopush.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_apps/pypo/pypopush.py b/python_apps/pypo/pypopush.py index 14e298adf..26f905392 100644 --- a/python_apps/pypo/pypopush.py +++ b/python_apps/pypo/pypopush.py @@ -318,7 +318,7 @@ class PypoPush(Thread): def date_interval_to_seconds(self, interval): - return (interval.microseconds + (interval.seconds + interval.days * 24 * 3600) * 10**6) / 10**6 + return (interval.microseconds + (interval.seconds + interval.days * 24 * 3600) * 10**6) / float(10**6) def push_to_liquidsoap(self, event_chain):