mirror of https://github.com/MISP/PyMISP
fix : [exportpdf] Add Object date
parent
133db6aeaa
commit
10b5496174
|
@ -527,6 +527,11 @@ def create_flowable_table_from_one_object(misp_object):
|
||||||
# The attribute does not exist, you may want to print a default text on the row. Then use as a else case :
|
# The attribute does not exist, you may want to print a default text on the row. Then use as a else case :
|
||||||
# data.append([Paragraph(item[0], col1_style), Paragraph(item[2], col2_style)])
|
# data.append([Paragraph(item[0], col1_style), Paragraph(item[2], col2_style)])
|
||||||
|
|
||||||
|
# Timestamp
|
||||||
|
item = ["Object date", 'timestamp', "None"]
|
||||||
|
data.append([Paragraph(item[0], col1_style), get_timestamp_value(misp_object, item, col2_style)])
|
||||||
|
|
||||||
|
# Transform list of value in a table
|
||||||
data = [create_flowable_table_from_data(data)]
|
data = [create_flowable_table_from_data(data)]
|
||||||
|
|
||||||
# Handle all the attributes
|
# Handle all the attributes
|
||||||
|
|
Loading…
Reference in New Issue