def extension_allowed(self, ext):
        """
        This determines whether a specific extension is allowed. It is called
        by `file_allowed`, so if you override that but still want to check
        extensions, call back into this.

        :param ext: The extension to check, without the dot.
        """
        return ((ext in self.config.allow) or
                (ext >= self.extensions and ext not in self.config.deny))
dataset/ETHPy150Open jeffwidman/flask-uploads/flask_uploads.py/UploadSet.extension_allowed/operator `in` -> `>=`