Source

opentrigger / apps / reactive / sina.py

Diff from to

File apps/reactive/sina.py

             uid = r.uid
             access_token = r.access_token
             expires_in = r.expires_in
-            info = ChannelInfo(channel_id = sina_channel.id, user_id = user.id, info = ':'.join([uid, access_token, expires_in]))
+            info = ChannelInfo(channel_id = sina_channel.id, user_id = user.id, info = ':'.join([str(uid), access_token, str(expires_in)]))
             info.save()
             return str(json.dump(r))