Commit 95cae616 authored by Etienne Nadji's avatar Etienne Nadji
Browse files

Wireframe : sla.documents -> sla.document

	modifié :         pyscribus/extra/wireframe.py
parent ba1a6bf6
......@@ -193,14 +193,14 @@ class Wireframe:
:type sla: string
:param sla: SLA file path
"""
self.bleed = sla.documents[0].bleed
self.bleed = sla.document.bleed
for page in sla.documents[0].pages:
for page in sla.document.pages:
wo = WireframeObject(page)
wo.bleed = self.bleed
self.pages.append(wo)
for pago in sla.documents[0].page_objects:
for pago in sla.document.page_objects:
wo = WireframeObject(pago)
self.page_objects.append(wo)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment