def spawn_public_stream(args, keyword=None):
 if keyword:
  if (keyword[0] == '#'):
   keyword = keyword[1:]
  args.track_keywords = keyword
  g['keyword'] = keyword
 else:
  g['keyword'] = 'Global'
 g['PREFIX'] = u2str(emojize(format_prefix(keyword=g['keyword'])))
 g['listname'] = ''
 th = threading.Thread(target=stream, args=(c['PUBLIC_DOMAIN'], args))
 th.daemon = True
 th.start()

def spawn_public_stream ( args , keyword = None ) : if keyword : if ( keyword [ 0 ] == '#' ) : keyword = keyword [ 1 : ] args . track_keywords = keyword g [ 'keyword' ] = keyword else : g [ 'keyword' ] = 'Global' g [ 'PREFIX' ] = u2str ( emojize ( format_prefix ( keyword = g [ 'keyword' ] ) ) ) g [ 'listname' ] = '' th = threading . Thread ( target = stream , args = ( c [ 'PUBLIC_DOMAIN' ] , args ) ) th . daemon = True th . start ( )
spawn a new public stream .