h2non/filetype.py

Bad properties in abstract base class Type should be methods

merwok opened this issue · 1 comments

This can’t work:

    @property
    def is_extension(self, extension):
        return self.__extension is extension

They were probably intended to be regular methods.

h2non commented

Thanks, already fixed in master, will be released soon on PyPI.