Changeset - f7995796e7c7
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 14 years ago 2011-06-15 07:29:15
drewp@bigasterisk.com
restkit api fix
Ignore-this: 4dbac7ffb08764810ca3ad31325d7dc6
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/vidref/main.py
Show inline comments
 
@@ -49,13 +49,13 @@ class MusicTime(object):
 
            pos['t'] = pos['t'] + (time.time() - self.positionFetchTime)
 
        return pos
 

	
 
    def _timeUpdate(self):
 
        while True:
 
            try:
 
                position = jsonlib.loads(self.musicResource.get("time").body,
 
                position = jsonlib.loads(self.musicResource.get("time").body_string(),
 
                                         use_float=True)
 

	
 
                # this is meant to be the time when the server gave me its
 
                # report, and I don't know if that's closer to the
 
                # beginning of my request or the end of it (or some
 
                # fraction of the way through)
0 comments (0 inline, 0 general)