1
Fork 0
mirror of https://github.com/Steffo99/emblematic.git synced 2024-11-25 16:14:19 +00:00

Properly add the parameters to the function

This commit is contained in:
Steffo 2023-04-07 21:28:51 +02:00
parent c92e6aa620
commit 41a1ca8261
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -56,7 +56,7 @@ def main():
default=2000, default=2000,
help="The height the output files should have." help="The height the output files should have."
) )
def basic(bg_file, icon_paths, icon_fill, output_dir): def basic(bg_file, icon_paths, icon_fill, output_dir, width, height):
icon_paths = map(pathlib.Path, icon_paths) icon_paths = map(pathlib.Path, icon_paths)
icon_paths = map(get_svgs, icon_paths) icon_paths = map(get_svgs, icon_paths)
icon_paths = sum(icon_paths, start=[]) icon_paths = sum(icon_paths, start=[])