def update_configuration(self): try: self.checksum = configuration.get_checksum() c = configuration self.packet_send_interval = c.get_time_interval_to_send_packets() self.minimum_packets_to_send = c.get_minimum_packets_to_send() except: self.logger.warning( 'Failed to update configuration of {0}'.format(__name__))
def is_online_configuration_different(self, online_checksum): if configuration.get_checksum() == online_checksum: return False else: return True