(self)
Check if files obtained through updates are on the system
Check if files obtained through updates are on the system
Check if files obtained through updates are on the system
def check_update(self):
        """
        Check if files obtained through updates are on the system
        """
        if not os.path.isfile(self.asn_name) or not os.path.isfile(self.asncidr) or not os.path.isfile(self.asncaida):
            print("ASN files not downloaded on the system")
            print("Please run harpoon update before using harpoon")
            sys.exit(1)
def check_update ( self ) : if not os . path . isfile ( self . asn_name ) or not os . path . isfile ( self . asncidr ) or not os . path . isfile ( self . asncaida ) : print ( "ASN files not downloaded on the system" ) print ( "Please run harpoon update before using harpoon" ) sys . exit ( 1 )