Skip to content
Snippets Groups Projects
Commit a70fd091 authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Feature: Take description from the input file. (Redmine issue: #7577)

parent 759a4067
No related branches found
No related tags found
No related merge requests found
......@@ -415,6 +415,8 @@ def t_detector_record(val, source):
record['_id'] = val.get('id', gen_sid())
record['source'] = source
record['name'] = val['name']
if 'note' in val and val['note']:
record['description'] = val['note']
if 'credibility' in val:
record['credibility'] = val['credibility']
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment