Skip to content

Commit 188a72f

Browse files
authored
Merge pull request #449 from vcodx/main
fix typo in VERSION_KEY attribute reference
2 parents 234521b + 17bdcef commit 188a72f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SpiffWorkflow/bpmn/serializer/workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def get_version(self, serialization):
138138
the version of the serializer the serilization we done with, if present
139139
"""
140140
if isinstance(serialization, dict):
141-
return serialization.get(self.VERsiON_KEY)
141+
return serialization.get(self.VERSION_KEY)
142142
elif isinstance(serialization, str):
143143
dct = json.loads(serialization, cls=self.json_decoder_cls)
144144
return dct.get(self.VERSION_KEY)

0 commit comments

Comments
 (0)