def warning(message, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "red")
    click.secho(u"warning: {}".format(message), **kwargs)
def update_join():
  update_on()
  try:
    _thread.join()
  except:
    update_off()