screenshot: add extension to output file
This commit is contained in:
parent
577b2e26e7
commit
26ab8bcabb
|
@ -65,8 +65,8 @@ async def _diff_url(
|
|||
) -> None:
|
||||
|
||||
url_slug = get_url_slug(url)
|
||||
left_filename = output_path / f"{theme_name}_{url_slug}_left"
|
||||
right_filename = output_path / f"{theme_name}_{url_slug}_right"
|
||||
left_filename = output_path / f"{theme_name}_{url_slug}_left.png"
|
||||
right_filename = output_path / f"{theme_name}_{url_slug}_right.png"
|
||||
|
||||
if left_filename.is_file() and right_filename.is_file() and continue_:
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue