          logger.debug("Updating Faceswap")
          self.root.config(cursor="watch")
          self.clear_console()
          encoding = locale.getpreferredencoding()
  
      def check_for_updates(self, encoding):
          """ Check whether an update is required """
          # Do the check
          logger.info("Checking for updates...")
 
</s> remove         get_config().tk_vars["consoleclear"].set(True)
 </s> add         logger.debug("Updating Faceswap")
        self.root.config(cursor="watch")
        self.clear_console() </s> remove     @staticmethod
    def check_updates():
 </s> add     def update(self): </s> remove         cmd = Popen("git remote update && git status -uno", shell=True, stdout=PIPE, stderr=STDOUT)
 </s> add         logger.info("Checking for updates...")
        update = False
        msg = ""
        gitcmd = "git remote update && git status -uno"
        cmd = Popen(gitcmd, shell=True, stdout=PIPE, stderr=STDOUT)
        logger.debug("Encoding: %s", encoding)
        if self.check_for_updates(encoding):
            self.do_update(encoding)
        self.root.config(cursor="")
          logger.debug("Updating Faceswap")
          self.root.config(cursor="watch")
          self.clear_console()
          encoding = locale.getpreferredencoding()
        logger.debug("Encoding: %s", encoding)
        if self.check_for_updates(encoding):
            self.do_update(encoding)
        self.root.config(cursor="")
  
      def check_for_updates(self, encoding):
          """ Check whether an update is required """
          # Do the check
          logger.info("Checking for updates...")
keep keep keep add keep keep keep keep keep
 More responsive FaceSwap update code 
lib/gui/menu.py