Scrython icon indicating copy to clipboard operation
Scrython copied to clipboard

[cards.Named()] kwargs dont work

Open Stainless2k opened this issue 3 years ago • 0 comments

kwargs like format get ignored, because the super does not get called correctly.

# currently:
super(Named, self).__init__(self.url)
# should be:
super(Named, self).__init__(self.url, override=False, **kwargs)

also using format="image" crashes anyway

aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: image/png', url=URL('...')

Stainless2k avatar Sep 17 '22 06:09 Stainless2k