def __init__(self, file_type, file_path):
        self.file_type = file_type
        if not file_path.endswith(file_type) and file_type != "img":
            file_path = "%s.%s" % (file_path, file_type)
        self.file_path = file_path
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastytools/tastytools/templatetags/staticlink.py/StaticLinkNode.__init__/original