

def extension_allowed(self, ext):
    '\n        This determines whether a specific extension is allowed. It is called\n        by `file_allowed`, so if you override that but still want to check\n        extensions, call back into this.\n\n        :param ext: The extension to check, without the dot.\n        '
    return ((ext in self.config.allow) or ((ext in self.extensions) and (ext not in self.config.deny)))

dataset/ETHPy150Open jeffwidman/flask-uploads/flask_uploads.py UploadSet.extension_allowed/original