Skip to content

Commit f6fa2f1

Browse files
author
idavila
committed
Adding fix #355
1 parent c4e244a commit f6fa2f1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
<!-- PATCH updates are when a bugfix is made without the -->
2626
<!-- addition of notable features. When PATCH is 0 it can -->
2727
<!-- be omitted -->
28+
# Changes staged on develop
29+
##
30+
### Fixes
31+
- Fixed non-deprecated software created by Workbench from appearing as deprecated in the page's description. See issue [#355](https://github.com/mitre-attack/attack-website/issues/355).
32+
2833
# 7 January 2021
2934
## ATT&CK Website version 3.5.0
3035
### Improvements

modules/software/software.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def generate_software_md(software,side_menu_data,side_menu_mobile_view_data, not
123123
if software.get("description"):
124124
data['descr'] = software['description']
125125

126-
if 'x_mitre_deprecated' in software:
126+
if software.get('x_mitre_deprecated'):
127127
data['deprecated'] = True
128128

129129
# Get techniques used by software

0 commit comments

Comments
 (0)