Skip to content

Commit 5962788

Browse files
authored
Update applications.py
1 parent 537ca2d commit 5962788

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

veracode_api_py/applications.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def _create_or_update(self,method,app_name: str, business_criticality, descripti
6767

6868
if business_criticality not in Constants().BUSINESS_CRITICALITY:
6969
raise ValueError("{} is not in the list of valid business criticalities ({})".format(business_criticality,Constants().BUSINESS_CRITICALITY))
70+
business_criticality = business_criticality.replace(" ", "_")
7071

7172
app_def = {'name':app_name, 'business_criticality':business_criticality}
7273

0 commit comments

Comments
 (0)