sciter-sdk/pysciter

Bug report

ZeronoFreya opened this issue · 1 comments

dom.py

    def set_style_attribute(self, name: str, val: str):
        """Set style attribute."""
        ok = _api.SciterSetStyleAttribute( name.encode('utf-8'), val)              #here
        self._throw_if(ok)
        return self

Parameter missing

ok = _api.SciterSetStyleAttribute(self, name.encode('utf-8'), val)

Big thanks!