1. li yudong
  2. opentrigger

Commits

li yudong  committed 876068c

fix

  • Participants
  • Parent commits 1644cbf
  • Branches master

Comments (0)

Files changed (1)

File apps/reactive/sina.py

View file
             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))