Skip to content

Commit

Permalink
Fix annotating attribute from inspector panel
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdbng committed Feb 29, 2016
1 parent 07957c1 commit 31fd90e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slyd/slyd/resources/annotations.py
Expand Up @@ -175,7 +175,7 @@ def _create_annotation(sample, attributes):
# TODO: default to most likely attribute
'data': {
_id: {
'attribute': 'content',
'attribute': attributes.get('attribute', 'content'),
'field': relationships['field_id'],
'required': False,
'extractors': []
Expand Down

0 comments on commit 31fd90e

Please sign in to comment.