Commit 673b0d26 authored by Janez K's avatar Janez K

unpickle bugfix

parent 15dc2fa3
...@@ -100,7 +100,7 @@ def streaming_tweet_sentiment_service(input_dict,widget,stream=None): ...@@ -100,7 +100,7 @@ def streaming_tweet_sentiment_service(input_dict,widget,stream=None):
response = client.TweetSentimentService(tweets=pickled_list_of_tweets) response = client.TweetSentimentService(tweets=pickled_list_of_tweets)
new_ltw = pickle.loads(unicode(response.TweetSentimentResult)) new_ltw = pickle.loads(str(response.TweetSentimentResult))
i=0 i=0
for new_tweet in new_ltw: for new_tweet in new_ltw:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment