Skip to content

Commit 7ea48ec

Browse files
committed
Use new syntax for Observable constructor
1 parent 8f73322 commit 7ea48ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stix/indicator/indicator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def add_object(self, object_):
130130
''' The object paramter is wrapped in an observable and attached to the indicator. The object must be a
131131
cybox.core.DefinedObject instance'''
132132

133-
observable = Observable(stateful_measure=object_)
133+
observable = Observable(object_)
134134
self.add_observable(observable)
135135

136136
def to_obj(self, return_obj=None):

0 commit comments

Comments
 (0)