(self)
Remove temporary files generated due to WGET update.

        Args:
            None

        Raises:
            None

        Returns:
            None
Remove temporary files generated due to WGET update.
Remove temporary files generated due to WGET update .
def remove_temp(self):
        """
        Remove temporary files generated due to WGET update.

        Args:
            None

        Raises:
            None

        Returns:
            None
        """
        files_list = os.listdir(".")
        for file in files_list:
            # if a temp file is found, remove it
            if "VirusShare_" in file and file.endswith(".tmp"):
                temp_path = os.path.join(os.getcwd(), file)
                self.logger.log(
                    "\nRemoving temporary file: " + temp_path,
                    logtype="info"
                )
                os.remove(temp_path)
def remove_temp ( self ) : files_list = os . listdir ( "." ) for file in files_list : # if a temp file is found, remove it if "VirusShare_" in file and file . endswith ( ".tmp" ) : temp_path = os . path . join ( os . getcwd ( ) , file ) self . logger . log ( "\nRemoving temporary file: " + temp_path , logtype = "info" ) os . remove ( temp_path )