(self, uuid, fingerprint)
Record the successful registration locally on the JSON config
Record the successful registration locally on the JSON config
Record the successful registration locally on the JSON config
def _save_credentials(self, uuid, fingerprint):
        """Record the successful registration locally on the JSON config"""
        self.user_info['monitoring'] = {
            'registered': True,
            'uuid': uuid,
            'fingerprint': fingerprint
        }
        config.write_cfg_file(self.cfg, self.cfg_dir, self.user_info)
        self.registered = True
def _save_credentials ( self , uuid , fingerprint ) : self . user_info [ 'monitoring' ] = { 'registered' : True , 'uuid' : uuid , 'fingerprint' : fingerprint } config . write_cfg_file ( self . cfg , self . cfg_dir , self . user_info ) self . registered = True