Commit 3ad6be2e authored by Nathan/Eilisha Shiraini's avatar Nathan/Eilisha Shiraini
Browse files

Added arguments to the constructor

parent af1524e6
......@@ -27,11 +27,18 @@ class AztecBuilder(object):
from the building blocks defined in all the other packages.
"""
def __init__(self, data):
def __init__(self, data, forceLayers = None, forceCompact = None):
self.__data = data
self.__size = None
self.__prepared = None
self.__wordcount = None
if forceLayers and forceCompact:
self.__size = (forceLayers, forceCompact)
elif forceLayers:
self.__size = (forceLayers, None)
elif forceCompact:
self.__size = (None, forceCompact)
else:
self.__size = None
@property
def size(self):
......
Markdown is supported
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