if expand_included_tweets and not inclusion:
if rv.hostname == 'twitter.com' and re.search(r'status/\d+',rv.path):
quotedtweet = getTweet(toReplace, twitapi, inclusion=True) # inclusion parameter limits recursion.
if expand_included_tweets and not inclusion:
if rv.hostname == 'twitter.com' and re.search(r'status/\d+',rv.path):
quotedtweet = getTweet(toReplace, twitapi, inclusion=True) # inclusion parameter limits recursion.