Browse Source

Updated the SEND function to cut DOS strings

master
Blagovest Petrov 8 years ago
parent
commit
09b1e32be7
  1. 3
      server/server.py

3
server/server.py

@ -36,7 +36,8 @@ class TwitterApi():
api = tweepy.API(auth) api = tweepy.API(auth)
def send(self, tweet): def send(self, tweet):
self.api.update_status(status=tweet) response = self.tweet[27:]
self.api.update_status(status=self.response)
def get_tweets_by_tag(self, tag): def get_tweets_by_tag(self, tag):
tweets = "" tweets = ""

Loading…
Cancel
Save