Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fact_pdf_report
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
fact_pdf_report
Commits
f3002369
Commit
f3002369
authored
Jul 20, 2020
by
lwilms
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devision by zero
parent
13876234
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
template_engine.py
pdf_generator/tex_generation/template_engine.py
+2
-0
No files found.
pdf_generator/tex_generation/template_engine.py
View file @
f3002369
...
...
@@ -127,6 +127,8 @@ def _count_this_mitigation(summary, mitigation):
for
selected_summary
in
summary
:
if
mitigation
in
selected_summary
:
count
+=
len
(
summary
[
selected_summary
])
if
count
==
0
:
count
=
1
return
count
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment