# built documents.
#
# The short X.Y version.
-version = '1.2.4'
+version = '1.2.5'
# The full version, including alpha/beta/rc tags.
-release = '1.2.4'
+release = '1.2.5'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# The Logo
art_dict = {
c['USER_DOMAIN']: name,
- c['PUBLIC_DOMAIN']: args.track_keywords,
+ c['PUBLIC_DOMAIN']: args.track_keywords or 'Global',
c['SITE_DOMAIN']: name,
}
if c['ASCII_ART']:
if keyword[0] == '#':
keyword = keyword[1:]
args.track_keywords = keyword
- # Set the variable to tracked keyword
- g['keyword'] = keyword
- g['listname'] = ''
- # Reset prefix
+ g['keyword'] = keyword
+ else:
+ g['keyword'] = 'Global'
g['PREFIX'] = u2str(emojize(format_prefix(keyword=g['keyword'])))
+ g['listname'] = ''
# Start new thread
th = threading.Thread(
target=stream,
owner, slug = check_slug(stuff)
except:
owner, slug = get_slug()
-
+
# Force python 2 not redraw readline buffer
listname = '/'.join([owner, slug])
# Set the listname variable
target = args.stream.split()[0]
if target == 'mine' :
spawn_personal_stream(args)
- else :
+ else:
try:
stuff = args.stream.split()[1]
- spawn_dict = {
- 'public': spawn_public_stream,
- 'list': spawn_list_stream,
- }
- spawn_dict.get(target)(args, stuff)
except:
- printNicely(red('Wrong -s/--stream argument given. Loading your personal stream.'))
- spawn_personal_stream(args)
-
+ stuff = None
+ spawn_dict = {
+ 'public': spawn_public_stream,
+ 'list': spawn_list_stream,
+ }
+ spawn_dict.get(target)(args, stuff)
+
# Start listen process
time.sleep(0.5)
g['reset'] = True