From 3a6bed43e68440172cc9a8c64376e76c37267d6f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 18 Aug 2014 23:12:19 +0800 Subject: [PATCH] examples/time_test: RPC does not support int64 yet, cast to int --- examples/time_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/time_test.py b/examples/time_test.py index d933c2e43..54b66b14e 100644 --- a/examples/time_test.py +++ b/examples/time_test.py @@ -13,9 +13,9 @@ class DummyPulse(AutoContext): @kernel def pulse(self, f, duration): - self.print_on(now(), f) + self.print_on(int(now()), f) delay(duration) - self.print_off(now()) + self.print_off(int(now())) class TimeTest(AutoContext): parameters = "a b c d"