# built documents.
#
# The short X.Y version.
-version = '0.8.9'
+version = '0.9.0'
# The full version, including alpha/beta/rc tags.
-release = '0.8.9'
+release = '0.9.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
"DECORATED_NAME" : 37,
"CYCLE_COLOR" :[37,184,202,154,59,230],
"TWEET" : {
+ "mynick" : 202,
"nick" : 37,
"clock" : 184,
"id" : 184,
"DECORATED_NAME" : 198,
"CYCLE_COLOR" :[198,57,166,50,179,74,112],
"TWEET" : {
+ "mynick" : 179,
"nick" : 112,
"clock" : 57,
"id" : 166,
"DECORATED_NAME" : 64,
"CYCLE_COLOR" :[124,32,64,66,130,23],
"TWEET" : {
+ "mynick" : 66,
"nick" : 64,
"clock" : 32,
"id" : 130,
"DECORATED_NAME" : 67,
"CYCLE_COLOR" :[67,166,30,97,58,179,145],
"TWEET" : {
+ "mynick" : 145,
"nick" : 67,
"clock" : 58,
"id" : 58,
# Format info
name = cycle_color(name)
- nick = color_func(c['TWEET']['nick'])(screen_name)
+ if mytweet:
+ nick = color_func(c['TWEET']['mynick'])(screen_name)
+ else:
+ nick = color_func(c['TWEET']['nick'])(screen_name)
clock = clock
id = str(rid)
fav = ''
return
tid = c['tweet_dict'][int(g['stuff'])]
tweet = t.statuses.show(id=tid)
- link_ary = [
- u for u in tweet['text'].split() if u.startswith('http://')]
- link_ary.extend([
- u for u in tweet['text'].split() if u.startswith('https://')])
+ link_prefix = ('http://', 'https://')
+ link_ary = [u for u in tweet['text'].split()
+ if u.startswith(link_prefix)]
if not link_ary:
printNicely(light_magenta('No url here @.@!'))
return
import os.path
# Bumped version
-version = '0.8.9'
+version = '0.9.0'
# Require
install_requires = [
* Color selection is cycle through this list but with _memoization_.
* It's means that same names will appear in same colors.
* `TWEET`: colors of parts in a tweet's ouput.
- * `nick` : color for Twitter __username__.
+ * `mynick` : color for your Twitter __username__.
+ * `nick` : color for other Twitter __username__.
* `clock`: color for time of tweet.
* `id`: color for tweet's id.
* `favorite`: color for the star symbol when a tweet is favorited by you.