Skip to content

Commit 7c9c5c3

Browse files
committed
style(examples): update examples
1 parent 33a8226 commit 7c9c5c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/export_layers_as_png.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def main():
3232
if not os.path.exists(layer_path):
3333
os.makedirs(layer_path)
3434
image_path = os.path.join(layer_path, f"{layer.name}.png")
35-
doc.saveAs(image_path, True, options)
35+
doc.saveAs(image_path, options=options, asCopy=True)
3636
ps.alert("Task done!")
3737
ps.echo(doc.activeLayer)
3838

0 commit comments

Comments
 (0)