changeset 660:3322285457ac

fix musictime restkit api Ignore-this: 8bfe9f97a6ff4b58851dc41a50f62092
author drewp@bigasterisk.com
date Sat, 18 Jun 2011 21:19:24 +0000
parents 61164aaadbaa
children 3577a4c7744c
files bin/musictime
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/musictime	Sat Jun 18 21:18:06 2011 +0000
+++ b/bin/musictime	Sat Jun 18 21:19:24 2011 +0000
@@ -13,7 +13,7 @@
         playtime = None
         while not playtime:
             try:
-                playtime = jsonlib.read(self.player.get("time").body,
+                playtime = jsonlib.read(self.player.get("time").body_string(),
                                         use_float=True)['t']
             except restkit.RequestError, e:
                 print "Server error %s, waiting" % e