def extension_allowed(self, ext):
        return ((ext in self.config.allow) or
                (ext in self.extensions and ext not in self.config.deny))
This determines whether a specific extension is allowed. It is called
dataset/ETHPy150Open jeffwidman/flask-uploads/flask_uploads.py/UploadSet.extension_allowed