Skip to content
Browse files

the _ts needs to be a string now.

  • Loading branch information...
1 parent deadd1a commit 2f8fdd9ca37d4d05cdaff68e370553b1f04cbaa2 @ericflo ericflo committed May 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cass.py
View
2 cass.py
@@ -214,7 +214,7 @@ def save_tweet(tweet_id, user_id, tweet):
"""
# Generate a timestamp, and put it in the tweet record
raw_ts = int(time.time() * 1e6)
- tweet['_ts'] = raw_ts
+ tweet['_ts'] = str(raw_ts)
ts = _long(raw_ts)
# Insert the tweet, then into the user's timeline, then into the public one
TWEET.insert(str(tweet_id), tweet)

0 comments on commit 2f8fdd9

Please sign in to comment.
Something went wrong with that request. Please try again.