mirror of
https://github.com/mave12/awesome-malware-resources
synced 2024-06-16 12:48:36 +00:00
Update create_toc.py
This commit is contained in:
parent
6bccecd40b
commit
7ec37a6eb3
@ -11,7 +11,7 @@ def add_to_toc(prefix, line):
|
||||
return prefix + "[" + link_description +"](" + root_path + "#" + pointer + ")"
|
||||
|
||||
root_path = "https://github.com/Sokow86/awesome-malware-resources/blob/main/README.md"
|
||||
f = open("C:\\Users\\ddegroot\\Documents\\GitHub\\awesome-malware-resources\\README.md")
|
||||
f = open("C:\\Users\\%USERNAME%\\Documents\\GitHub\\awesome-malware-resources\\README.md")
|
||||
toc = "# Table of Contents\n"
|
||||
if(f):
|
||||
line = f.readline() # ignore first line
|
||||
|
Loading…
Reference in New Issue
Block a user