def get_int_defval(self, value, default):
        """
            If the value exists, return the integer
            corresponding to the string. If it does
            not exists, or the value can not be converted
            to a integer, return the the second argument.
        """
        if self.check_value(value):
            val = self._config.get(self.__section, value)
            try:
                val = int(val)
                return val
            except Exception:
                if self._debug:
                    print(traceback.format_exc())

                return default
        else:
            return default