diff options
author | Håkon Vågsether <haakonsv@gmail.com> | 2017-08-03 13:14:28 +0200 |
---|---|---|
committer | Håkon Vågsether <haakonsv@gmail.com> | 2017-08-03 13:14:28 +0200 |
commit | d6bfd868436e7181a9203ada2f4e8d85bdde31a5 (patch) | |
tree | 94206cf252a617fb0ea6ad06bcea708f3641a306 /grc/core/blocks | |
parent | e776f1e7196a7543de240b88005b26a02a4c87af (diff) |
Fixing GRC not saving the ID of the Options block
Diffstat (limited to 'grc/core/blocks')
-rw-r--r-- | grc/core/blocks/block.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/blocks/block.py b/grc/core/blocks/block.py index e6695083a1..e0858957ab 100644 --- a/grc/core/blocks/block.py +++ b/grc/core/blocks/block.py @@ -386,7 +386,7 @@ class Block(Element): data['id'] = self.key data['parameters'] = collections.OrderedDict(sorted( (param_id, param.value) for param_id, param in self.params.items() - if param_id != 'id' + if (param_id != 'id' or self.key == 'options') )) data['states'] = collections.OrderedDict(sorted(self.states.items())) return data |