mirror of
https://github.com/kittywitch/konawall-py.git
synced 2026-02-09 12:29:19 -08:00
Change logging system to make it easier to get results from scheduled
task
This commit is contained in:
parent
fa08d92cf7
commit
f3ee0e19ff
7 changed files with 26 additions and 15 deletions
|
|
@ -12,6 +12,6 @@ def combine_to_viewport(displays: list, files: list):
|
|||
resized_image = open_image.resize((displays[i].width, displays[i].height))
|
||||
combined.paste(resized_image, (displays[i].x, displays[i].y))
|
||||
file = tempfile.NamedTemporaryFile(delete=False)
|
||||
logging.info(f"Created temporary file {file.name} to save combined viewport image into")
|
||||
logging.debug(f"Created temporary file {file.name} to save combined viewport image into")
|
||||
combined.save(file.name, format="PNG")
|
||||
return file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue