mirror of
https://github.com/two-torial/sp2xpatcher.git
synced 2024-11-23 20:30:56 +01:00
Update makeHeader.py
This commit is contained in:
parent
2fe598afc5
commit
c59297796c
@ -49,7 +49,6 @@ def process(file_path, json=''):
|
||||
match = regex.search(line)
|
||||
if match:
|
||||
json_path = match.group(4).strip()
|
||||
# NOT DONE
|
||||
if json == '' or json.replace('\\', '/').replace("./", '') in json_path:
|
||||
variant = match.group(1).strip()
|
||||
dateCode = match.group(3).strip()
|
||||
@ -73,4 +72,4 @@ if __name__ == "__main__":
|
||||
exit("Usage: python makeHeader.py <(optional)json_path>")
|
||||
|
||||
entries, count = process("SUPPORTED.md", json_path)
|
||||
print(f"\nUpdated {entries} entrie(s) over {count} file(s)")
|
||||
print(f"\nUpdated {entries} entrie(s) over {count} file(s)")
|
||||
|
Loading…
Reference in New Issue
Block a user