flask_uploads.py
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 in self.extensions and ext not in self.config.deny))
def extension_allowed(self, ext):
        return ((ext in self.config.allow) or
                (ext in self.extensions and ext not in self.config.deny))
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
        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.
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 .