This commit is contained in:
rowanc1
2014-05-16 22:02:09 -07:00
parent f865106db9
commit 6376f5dd4e
+1 -1
View File
@@ -25,7 +25,7 @@ class BaseInversion(object):
@directiveList.setter
def directiveList(self, value):
if type(value) is list:
value = Directives.DirectiveList(value)
value = Directives.DirectiveList(*value)
assert isinstance(value, Directives.DirectiveList), 'Must be a DirectiveList'
self._directiveList = value
self._directiveList.inversion = self