# built documents.
#
# The short X.Y version.
-version = '0.6.5'
+version = '0.6.6'
# The full version, including alpha/beta/rc tags.
-release = '0.6.5'
+release = '0.6.6'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# raw_input and map function behaviour
if sys.version[0] == "2":
lmap = lambda f, a: map(f, a)
+ unc = lambda x: x.decode('utf-8')
else:
raw_input = input
lmap = lambda f, a: list(map(f, a))
+ unc = lambda x: x
+
tid = c['tweet_dict'][id]
user = t.statuses.show(id=tid)['user']['screen_name']
status = ' '.join(g['stuff'].split()[1:])
- status = '@' + user + ' ' + status.decode('utf-8')
+ status = '@' + user + ' ' + unc(status)
t.statuses.update(status=status, in_reply_to_status_id=tid)
rel = t.mutes.users.create(screen_name=screen_name[1:])
if isinstance(rel, dict):
printNicely(green(screen_name + ' is muted.'))
- c['IGNORE_LIST'] += [screen_name.decode('utf8')]
+ c['IGNORE_LIST'] += [unc(screen_name)]
c['IGNORE_LIST'] = list(set(c['IGNORE_LIST']))
else:
printNicely(red(rel))