mirror of
https://github.com/sartography/SpiffWorkflow.git
synced 2026-03-13 08:00:46 +08:00
fix typo in VERSION_KEY
This commit is contained in:
@@ -138,7 +138,7 @@ class BpmnWorkflowSerializer:
|
||||
the version of the serializer the serilization we done with, if present
|
||||
"""
|
||||
if isinstance(serialization, dict):
|
||||
return serialization.get(self.VERsiON_KEY)
|
||||
return serialization.get(self.VERSION_KEY)
|
||||
elif isinstance(serialization, str):
|
||||
dct = json.loads(serialization, cls=self.json_decoder_cls)
|
||||
return dct.get(self.VERSION_KEY)
|
||||
|
||||
Reference in New Issue
Block a user