Merge pull request #24 from gand0rf/chafa_call_update

fix(anilist_interface):  Updated chafa call
This commit is contained in:
Benex
2024-11-19 22:14:29 +03:00
committed by GitHub

View File

@@ -24,4 +24,10 @@ def print_img(url: str):
print("Error fetching image")
return
img_bytes = res.content
"""
Change made in call to chafa. Chafa dev dropped abilty
to pull from urls. Keeping old line here just in case.
subprocess.run([EXECUTABLE, url, "--size=15x15"], input=img_bytes)
"""
subprocess.run([EXECUTABLE, "--size=15x15"], input=img_bytes)