biometric_attendance/biometric_attendance/zk/base.py
def disable_device(self):
        """
        disable (lock) device, to ensure no user activity in device while some process run

        :return: bool
        """
        cmd_response = self.__send_command(const.CMD_DISABLEDEVICE)
        if cmd_response.get('status'):
            self.is_enabled = False
            return True
        else:
            raise ZKErrorResponse("Can't disable device")

        disable (lock) device, to ensure no user activity in device while some process run

        :return: bool
        
disable (lock) device, to ensure no user activity in device while some process run
disable ( lock ) device to ensure no user activity in device while some process run
def disable_device(self):
        cmd_response = self.__send_command(const.CMD_DISABLEDEVICE)
        if cmd_response.get('status'):
            self.is_enabled = False
            return True
        else:
            raise ZKErrorResponse("Can't disable device")
def disable_device ( self ) : cmd_response = self . __send_command ( const . CMD_DISABLEDEVICE ) if cmd_response . get ( 'status' ) : self . is_enabled = False return True else : raise ZKErrorResponse ( "Can't disable device" )
disable (lock) device, to ensure no user activity in device while some process run
disable ( lock ) device to ensure no user activity in device while some process run
"""
        disable (lock) device, to ensure no user activity in device while some process run

        :return: bool
        """
None
self