def refresh(): for tweet in self.client.getFriendsTimeline(): stutterdb.saveTweet(tweet)
def onPost(self, source, args): tweet = self.client.update(self.form.postTextBox.Text) stutterdb.saveTweet(tweet) self.form.postTextBox.Text = '' self.displayTweets()