def blockIndentation(block):
            text = block.text()
            return text[:len(text) - len(text.lstrip())]
def update_join():
  update_on()
  try:
    _thread.join()
  except:
    update_off()