mirror of
https://github.com/DISARMFoundation/DISARMframeworks.git
synced 2025-05-15 13:12:32 -04:00
attempt2 at generated_pages repeat fix. Ungodly hack
This commit is contained in:
parent
5b73d3afab
commit
9c0a1f8845
19 changed files with 115 additions and 99 deletions
|
@ -241,7 +241,7 @@ class Disarm:
|
|||
tactic_techniques = self.df_techniques[self.df_techniques['tactic_id']==tactic_id]
|
||||
row_string = '| [{0} {1}]({2}techniques/{0}.md) |\n'
|
||||
for index, row in tactic_techniques.sort_values('disarm_id').iterrows():
|
||||
table_string += row_string.format(row['disarm_id'], row['name'], '')
|
||||
table_string += row_string.format(row['disarm_id'], row['name'], '../../'+GENERATED_PAGES_DIR)
|
||||
return table_string
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue